00001 #ifndef __GZIP_LIB_H 00002 #define __GZIP_LIB_H 00003 00004 #ifdef WIN32 00005 #ifndef WINDLL 00006 #define WINDLL 00007 #endif 00008 #include "../../src/common/Zip32/api.h" 00009 #endif 00010 00011 class GLogTarget 00012 { 00013 public: 00014 virtual void ClearLog() = 0; 00015 virtual void Log(char *Str, int c = 0) = 0; 00016 }; 00017 00018 class GZipLibrary 00019 { 00020 class GZipLibPrivate *d; 00021 00022 public: 00023 GZipLibrary(GLogTarget *log); 00024 00025 bool IsOk(); 00026 bool Zip(char *ZipFile, char *BaseDir, List<char> &Extensions, char *AfterDate); 00027 }; 00028 00029 #endif