6#ifndef _ZFI_ZFProtocolZFCompress_h_
7#define _ZFI_ZFProtocolZFCompress_h_
65 ZF_IN void *decompressToken
70 ZF_IN void *decompressToken
76 ZF_IN void *decompressToken
81 ZF_IN void *decompressToken
91 ,
ZF_IN void *decompressToken
#define ZFLIB_ZFAlgorithm
used to export symbols
Definition ZFAlgorithmDef.h:14
v_ZFCompressLevel::ZFEnumType ZFCompressLevel
see v_ZFCompressLevel
Definition ZFCompress.h:29
#define zfpurevirtual
dummy macro shows that a method is pure virtual method
Definition ZFCoreTypeDef_ClassType.h:68
#define ZF_IN
dummy macro that shows the param used as required input
Definition ZFCoreTypeDef_ClassType.h:180
#define ZF_IN_OPT
dummy macro that shows the param used as optional input
Definition ZFCoreTypeDef_ClassType.h:184
#define ZF_IN_OUT
dummy macro that shows the param used as required input and output
Definition ZFCoreTypeDef_ClassType.h:196
_ZFT_t_zfbool zfbool
bool type
Definition ZFCoreTypeDef_CoreType.h:103
_ZFT_t_zfindex zfindex
similar to size_t, used for index and size only
Definition ZFCoreTypeDef_CoreType.h:154
#define zftrue
bool true type
Definition ZFCoreTypeDef_CoreType.h:107
#define zfindexMax()
(zfindex)-1, indicate a max index value, see zfindex
Definition ZFCoreTypeDef_CoreType.h:159
zft_zfstring< zfchar > zfstring
see zft_zfstring
Definition ZFCoreTypeDef_StringType.h:15
#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_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
compress util
Definition ZFCompress.h:76
data used by ZFFile when finding files
Definition ZFFile_fwd.h:53
general output callback
Definition ZFIOCallback_output.h:37
virtual void * decompressBegin(const ZFInput &inputZip)=0
see ZFCompress
virtual zfbool decompressContent(void *decompressToken, const ZFOutput &outputRaw, zfindex fileIndexInZip)=0
see ZFCompress
virtual zfindex decompressContentIndex(void *decompressToken, const zfstring &filePathInZip)=0
see ZFCompress
virtual zfbool decompressEnd(void *decompressToken)=0
see ZFCompress
virtual zfbool compressEnd(void *compressToken)=0
see ZFCompress
virtual zfbool compressContentDir(void *compressToken, const zfstring &filePathInZip)=0
see ZFCompress
virtual zfbool decompressContentPath(void *decompressToken, zfstring &filePathInZip, zfindex fileIndexInZip)=0
see ZFCompress
virtual zfbool decompressContentIsDir(void *decompressToken, zfindex fileIndexInZip)=0
see ZFCompress
virtual zfbool compressContent(void *compressToken, const ZFInput &inputRaw, const zfstring &filePathInZip)=0
see ZFCompress
virtual zfbool decompressContentFindFirst(ZFFileFindData &fd, void *decompressToken, const zfstring &filePathInZip)
see ZFCompress
virtual void decompressContentFindClose(ZFFileFindData &fd)
see ZFCompress
virtual void * compressBegin(const ZFOutput &outputZip, ZFCompressLevel compressLevel)=0
see ZFCompress
virtual zfbool compressContentRemove(void *compressToken, const zfstring &filePathInZip)=0
see ZFCompress
virtual zfbool compressContentMove(void *compressToken, const zfstring &filePathInZipFrom, const zfstring &filePathInZipTo, zfbool isForce=_ZFT_t_zftrue)=0
see ZFCompress
virtual zfbool decompressContentIsDir(void *decompressToken, const zfstring &filePathInZip)
see ZFCompress
Definition ZFProtocolZFCompress.h:80
virtual zfbool decompressContentFindNext(ZFFileFindData &fd)
see ZFCompress
virtual zfindex decompressContentCount(void *decompressToken)=0
see ZFCompress