ZFFramework
 
Loading...
Searching...
No Matches
ZFProtocolZFEnvInfo.h
Go to the documentation of this file.
1
5
6#ifndef _ZFI_ZFProtocolZFEnvInfo_h_
7#define _ZFI_ZFProtocolZFEnvInfo_h_
8
9#include "ZFCore/ZFProtocol.h"
10#include "ZFCore/ZFEnvInfo.h"
12
13// ============================================================
19public:
23 virtual void systemName(ZF_IN_OUT zfstring &ret) {}
27 virtual void systemVersion(ZF_IN_OUT zfstring &ret) {}
28ZFPROTOCOL_INTERFACE_END(ZFEnvInfo_systemInfo)
29
30// ============================================================
36public:
40 virtual void frameworkName(ZF_IN_OUT zfstring &ret) {}
44 virtual void frameworkVersion(ZF_IN_OUT zfstring &ret) {}
45ZFPROTOCOL_INTERFACE_END(ZFEnvInfo_frameworkInfo)
46
48#endif // #ifndef _ZFI_ZFProtocolZFEnvInfo_h_
49
#define ZFLIB_ZFCore
used to export symbols
Definition ZFCoreEnvDef.h:30
#define ZF_IN_OUT
dummy macro that shows the param used as required input and output
Definition ZFCoreTypeDef_ClassType.h:196
zft_zfstring< zfchar > zfstring
see zft_zfstring
Definition ZFCoreTypeDef_StringType.h:15
info of native environment
#define ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98
protocol definitions for ZFFramework
#define ZFPROTOCOL_INTERFACE_OPTIONAL
macro to show that the protocol is optional
Definition ZFProtocol.h:420
#define ZFPROTOCOL_INTERFACE_END(ModuleName)
for more information, please refer to ZFPROTOCOL_INTERFACE_BEGIN
Definition ZFProtocol.h:414
#define ZFPROTOCOL_INTERFACE_BEGIN(ZFLIB_, ModuleName)
declare a protocol interface for ZFFramework
Definition ZFProtocol.h:408
virtual void frameworkVersion(zfstring &ret)
version of native framework, e.g. "9.0.1", empty if not available
Definition ZFProtocolZFEnvInfo.h:44
virtual void frameworkName(zfstring &ret)
name of native framework, e.g. "Qt", empty if not available
Definition ZFProtocolZFEnvInfo.h:40
virtual void systemVersion(zfstring &ret)
version of native system, e.g. "9.0.1", empty if not available
Definition ZFProtocolZFEnvInfo.h:27
virtual void systemName(zfstring &ret)
name of native system, e.g. "iOS", empty if not available
Definition ZFProtocolZFEnvInfo.h:23