ZFFramework
 
Loading...
Searching...
No Matches
ZFEnvInfo_ZFUIKit.h
Go to the documentation of this file.
1
5
6#ifndef _ZFI_ZFEnvInfo_ZFUIKit_h_
7#define _ZFI_ZFEnvInfo_ZFUIKit_h_
8
9#include "ZFUIKitDef.h"
11
20 ZFENUM_VALUE(Desktop)
35 ZFENUM_VALUE(Wearable)
45 ZFENUM_VALUE_REGISTER(Wearable)
49
51
52// ============================================================
57 , ZFMP_IN_OPT(ZFEnvDeviceUIType, defaultValue, v_ZFEnvDeviceUIType::e_Desktop)
58 )
59
60// ============================================================
65 , ZFMP_IN_OUT(zfstring &, ret)
66 )
71
76 , ZFMP_IN_OUT(zfstring &, ret)
77 )
82
85#endif // #ifndef _ZFI_ZFEnvInfo_ZFUIKit_h_
86
zft_zfstring< zfchar > zfstring
see zft_zfstring
Definition ZFCoreTypeDef_StringType.h:15
#define ZFENUM_SEPARATOR()
see ZFENUM_BEGIN
Definition ZFEnumDeclare.h:158
#define ZFENUM_VALUE_REGISTER(Value)
see ZFENUM_BEGIN
Definition ZFEnumDeclare.h:168
#define ZFENUM_REG(ZFLIB_, EnumName,...)
see ZFENUM_BEGIN
Definition ZFEnumDeclare.h:186
#define ZFENUM_VALUE(Value)
see ZFENUM_BEGIN
Definition ZFEnumDeclare.h:151
#define ZFENUM_BEGIN(ZFLIB_, EnumName)
macros to define reflectable enum type
Definition ZFEnumDeclare.h:147
#define ZFENUM_END(ZFLIB_, EnumName)
see ZFENUM_BEGIN
Definition ZFEnumDeclare.h:172
v_ZFEnvDeviceUIType::ZFEnumType ZFEnvDeviceUIType
see v_ZFEnvDeviceUIType
Definition ZFEnvInfo_ZFUIKit.h:47
#define ZFMP_IN_OUT(ParamType, paramName)
see ZFMP_IN
Definition ZFMethod.h:117
#define ZFMP_IN_OPT(ParamType, paramName, DefaultValue)
see ZFMP_IN
Definition ZFMethod.h:108
#define ZFMETHOD_FUNC_DECLARE_0(ZFLIB_, ReturnType, MethodName)
declare function type of ZFMethod
Definition ZFMethodFuncDeclare.h:493
#define ZFMETHOD_FUNC_DECLARE_1(ZFLIB_, ReturnType, MethodName, ZFMP_0)
see ZFMETHOD_FUNC_DECLARE_0
Definition ZFMethodFuncDeclare.h:624
#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_BEGIN(NameSpace)
begin namespace
Definition ZFNamespace.h:40
global header for ZFUIKit module
#define ZFLIB_ZFUIKit
used to export symbols
Definition ZFUIKitDef.h:16
@ e_Desktop
desktop devices such as PC or laptop, usually have large display and have keyboard and mouse as input
Definition ZFEnvInfo_ZFUIKit.h:20
Definition ZFEnvInfo.h:15
zfstring localeInfo()
see localeInfoT
void localeLangInfoT(zfstring &ret)
locale language info, e.g. "zh"
void localeInfoT(zfstring &ret)
locale info, e.g. "CN"
zfstring localeLangInfo()
see localeLangInfoT