ZFFramework
 
Loading...
Searching...
No Matches
ZFAppRes.h
Go to the documentation of this file.
1
5
6#ifndef _ZFI_ZFAppRes_h_
7#define _ZFI_ZFAppRes_h_
8
9#include "ZFAppUtilDef.h"
11
44zfclass ZFLIB_ZFAppUtil ZFAppRes : zfextend ZFObject {
45 ZFOBJECT_DECLARE(ZFAppRes, ZFObject)
46
47public:
52 , ZFMP_OUT(const ZFPathInfo &, resultPackage)
53 , ZFMP_IN(const ZFPathInfo &, sourceDir)
54 , ZFMP_IN_OPT(const zfstring &, packagePwd, zfnull)
55 )
56
57public:
65 , ZFMP_IN(const ZFListener &, packageGetter)
66 , ZFMP_IN_OPT(const zfstring &, moduleName, zfnull)
67 )
68
69public:
72 , ZFMP_IN(const ZFCoreArray<ZFPathInfo> &, packageSrc)
73 , ZFMP_IN_OPT(const zfstring &, packagePwd, zfnull)
74 )
75
76public:
77 zfstring _ZFP_ZFAppRes_moduleName;
78};
79
81#endif // #ifndef _ZFI_ZFAppRes_h_
82
global header for ZFAppUtil module
#define ZFLIB_ZFAppUtil
used to export symbols
Definition ZFAppUtilDef.h:22
#define zfextend
dummy macro shows class inherit from another
Definition ZFCoreTypeDef_ClassType.h:53
#define zfnull
same as NULL, defined for future use
Definition ZFCoreTypeDef_CoreType.h:88
zft_zfstring< zfchar > zfstring
see zft_zfstring
Definition ZFCoreTypeDef_StringType.h:15
#define ZFMP_OUT(ParamType, paramName)
see ZFMP_IN
Definition ZFMethod.h:111
#define ZFMP_IN_OPT(ParamType, paramName, DefaultValue)
see ZFMP_IN
Definition ZFMethod.h:108
#define ZFMP_IN(ParamType, paramName)
macro to wrap param types for ZFMETHOD_INLINE_0 series
Definition ZFMethod.h:105
#define ZFMETHOD_DECLARE_2(ReturnType, MethodName, ZFMP_0, ZFMP_1)
see ZFMethod
Definition ZFMethodDeclare.h:1025
#define ZFMETHOD_DECLARE_STATIC_3(ReturnType, MethodName, ZFMP_0, ZFMP_1, ZFMP_2)
see ZFMethod
Definition ZFMethodDeclare.h:1224
#define ZFMETHOD_DECLARE_STATIC_2(ReturnType, MethodName, ZFMP_0, ZFMP_1)
see ZFMethod
Definition ZFMethodDeclare.h:1042
#define ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98
#define zfclass
same as class, shows that this class is a ZFObject type
Definition ZFObjectClassTypeFwd.h:38
#define ZFOBJECT_DECLARE(ChildClass, SuperClass,...)
necessary for every class inherit from ZFObject
Definition ZFObjectDeclare.h:126
static void build(const ZFPathInfo &resultPackage, const ZFPathInfo &sourceDir, const zfstring &packagePwd=(zft_zfnull))
build package with sourceDir
virtual void notifyFinish(const ZFCoreArray< ZFPathInfo > &packageSrc, const zfstring &packagePwd=(zft_zfnull))
see ZFAppRes
static void start(const ZFListener &packageGetter, const zfstring &moduleName=(zft_zfnull))
start and attach this res moudle
light weight array
Definition ZFCoreArray.h:331
listener as ZFCallback, mostly used by ZFObject::observerNotify
Definition ZFObjectObserver.h:30
path related info storage for impl, actual meaning of the info depends on impl
Definition ZFPathInfo.h:34