ZFFramework
 
Loading...
Searching...
No Matches
ZFEnvInfo.h
Go to the documentation of this file.
1
5
6#ifndef _ZFI_ZFEnvInfo_h_
7#define _ZFI_ZFEnvInfo_h_
8
9#include "ZFObject.h"
11
14
55#endif // #ifndef _ZFI_ZFEnvInfo_h_
56
#define ZFLIB_ZFCore
used to export symbols
Definition ZFCoreEnvDef.h:30
#define ZF_IN
dummy macro that shows the param used as required input
Definition ZFCoreTypeDef_ClassType.h:184
zft_zfstring< zfchar > zfstring
see zft_zfstring
Definition ZFCoreTypeDef_StringType.h:15
zfstring(* ZFEnvSummaryCallback)(void)
see ZFEnvInfo::envSummaryCallbackRegister
Definition ZFEnvInfo.h:13
#define ZFMETHOD_FUNC_DECLARE_0(ZFLIB_, ReturnType, MethodName)
declare function type of ZFMethod
Definition ZFMethodFuncDeclare.h:493
#define ZF_NAMESPACE_BEGIN_REGISTER(NameSpace, ParentNameSpace)
begin and register namespace
Definition ZFNamespace.h:48
#define ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_END(NameSpace)
end namespace
Definition ZFNamespace.h:60
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98
#define ZF_NAMESPACE_GLOBAL
namespace of ZFFramework
Definition ZFNamespace.h:96
ZFObject related include.
Definition ZFEnvInfo.h:15
zfstring systemName()
name of native system, e.g. "iOS", empty if not available
void envSummaryCallbackRegister(const zfstring &name, ZFEnvSummaryCallback callback)
register a callback to output custom env info, see envSummary
zfstring frameworkName()
name of native framework, e.g. "Qt", empty if not available
zfstring frameworkVersion()
version of native framework, e.g. "9.0.1", empty if not available
void envSummaryCallbackUnregister(const zfstring &name)
see envSummaryCallbackRegister
zfstring envSummary()
util method to get summary info
zfstring systemVersion()
version of native system, e.g. "9.0.1", empty if not available