15 #include "generalmod.h" 28 ZipUtils(
const char* filelistnm=0);
31 bool Zip(
const char* src,
const char* dest);
32 bool UnZip(
const char* scr,
const char* dest);
34 void makeFileList(
const char* zipfile);
37 static bool unZipArchive(
const char* src,
const char* dest,
44 static bool unZipFile(
const char* ziparchive,
45 const char* fnm,
const char* path,
48 static bool makeZip(
const char* zipfilenm,
54 static bool makeZip(
const char* zipfilenm,
60 static bool appendToArchive(
const char* zipfile,
69 bool doZip(
const char* src,
const char* dest);
70 bool doUnZip(
const char* src,
const char* dest);
91 Zipper(
const char*,
const char*,
#define mExpClass(module)
Definition: commondefs.h:160
Handles zipping and unzipping of files.
Definition: ziphandler.h:53
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
ZipHandler ziphd_
Definition: ziputils.h:103
#define od_int64
Definition: plftypes.h:36
const BufferStringSet & getFileList() const
Definition: ziputils.h:35
BufferString filelistname_
Definition: ziputils.h:74
bool isok_
Definition: ziputils.h:105
Definition: uistring.h:89
Set of BufferString objects.
Definition: bufstringset.h:28
ZipHandler ziphd_
Definition: ziputils.h:129
uiString errmsg_
Definition: ziputils.h:72
Zip Utilities.
Definition: ziputils.h:25
Definition: ziphandler.h:61
Class that can execute a task.
Definition: task.h:169
It is an Executor class which uncompresses files of zip format but user should instead use ZipUtils::...
Definition: ziputils.h:115
uiString errorMsg() const
Definition: ziputils.h:33
bool isOk() const
Definition: ziputils.h:98
bool isOk() const
Definition: ziputils.h:124
CompLevel
Definition: ziphandler.h:61
int nrdone_
Definition: ziputils.h:104
mODTextTranslationClass(UnZipper) public uiString uiMessage() const
will be message() again in 7.x
BufferStringSet filelist_
Definition: ziputils.h:73
bool needfilelist_
Definition: ziputils.h:75
It is an Executor class which compresses files into zip format but user should not use it directly in...
Definition: ziputils.h:85
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
bool isok_
Definition: ziputils.h:131
BufferString errmsg_
Definition: horizontracker.h:119
uiString uiNrDoneText() const
will be nrDoneText() in 7.x
int nrdone_
Definition: ziputils.h:130
Specification to enable chunkwise execution of a process.
Definition: executor.h:39
static uiString tr(const char *text, const char *disambiguation=0, int pluralnr=-1)
Definition: task.h:29