6#ifndef _ZFI_ZFFile_path_h_
7#define _ZFI_ZFFile_path_h_
#define ZFLIB_ZFCore
used to export symbols
Definition ZFCoreEnvDef.h:30
_ZFT_t_zfbool zfbool
bool type
Definition ZFCoreTypeDef_CoreType.h:103
zft_zfstring< zfchar > zfstring
see zft_zfstring
Definition ZFCoreTypeDef_StringType.h:15
const zfstring & ZFPathForStorage()
get a proper storage path that app can write files to
const zfstring & ZFPathForModuleFile()
get module's path, e.g. "/path/module.exe"
const zfstring & ZFPathForStorageShared()
get a proper shared storage path that app can write files to, and other app can access
const zfstring & ZFPathForSetting()
get a proper data path that app can save settings to
const zfstring & ZFPathForCache()
get a proper cache path that app can write files to
zfstring ZFPathForCwd()
get current working directory
zfstring ZFPathForCwdOrModule()
util method to access ZFPathForCwd, return ZFPathForModule if not available
const zfstring & ZFPathForModule()
get module's parent's path, e.g. "/path"
void ZFPathForCacheClear()
clear all caches under ZFPathForCache
#define ZFMP_IN(ParamType, paramName)
macro to wrap param types for ZFMETHOD_INLINE_0 series
Definition ZFMethod.h:105
#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
#define ZFEVENT_GLOBAL(ZFLIB_, YourEvent)
declare a observer event in global scope, see ZFEVENT
Definition ZFObjectObserver.h:369