Line 127... |
Line 127... |
127 |
if ( !m_bDoSecond )
|
127 |
if ( !m_bDoSecond )
|
128 |
ProgressUpdated(cur, max);
|
128 |
ProgressUpdated(cur, max);
|
129 |
else
|
129 |
else
|
130 |
ProgressUpdated2(cur, max);
|
130 |
ProgressUpdated2(cur, max);
|
131 |
}
|
131 |
}
|
- |
|
132 |
virtual void UpdateDisplay(const Utils::WString& display) {};
|
132 |
void UpdateFile(C_File *f) { DoingFile(f); }
|
133 |
void UpdateFile(C_File *f) { DoingFile(f); }
|
133 |
void UpdatePackage(SMultiSpkFile *f) { DoingPackage(f); }
|
134 |
void UpdatePackage(SMultiSpkFile *f) { DoingPackage(f); }
|
134 |
unsigned long *GetDonePointer() { return &m_iDone; }
|
135 |
unsigned long *GetDonePointer() { return &m_iDone; }
|
135 |
unsigned long GetDone() { return m_iDone; }
|
136 |
unsigned long GetDone() { return m_iDone; }
|
136 |
void SetDone(int i) { m_iDone = i; }
|
137 |
void SetDone(int i) { m_iDone = i; }
|
Line 309... |
Line 310... |
309 |
bool writeToDir(const Utils::WString &dir, CBaseFile *, bool = true, const Utils::WString &appendDir = Utils::WString::Null(), unsigned char * = NULL, long = 0);
|
310 |
bool writeToDir(const Utils::WString &dir, CBaseFile *, bool = true, const Utils::WString &appendDir = Utils::WString::Null(), unsigned char * = NULL, long = 0);
|
310 |
bool writeToFile(const Utils::WString &filename, unsigned char * = NULL, long = 0);
|
311 |
bool writeToFile(const Utils::WString &filename, unsigned char * = NULL, long = 0);
|
311 |
bool writeFilePointer(unsigned char *cData = NULL, long len = 0);
|
312 |
bool writeFilePointer(unsigned char *cData = NULL, long len = 0);
|
312 |
|
313 |
|
313 |
// file compression functions
|
314 |
// file compression functions
|
314 |
unsigned char *CompressToData(int compressionType, unsigned long *outSize, CProgressInfo *progress = NULL, int level = DEFAULT_COMPRESSION_LEVEL);
|
315 |
unsigned char *CompressToData(int compressionType, size_t *outSize, CProgressInfo *progress = NULL, int level = DEFAULT_COMPRESSION_LEVEL);
|
315 |
bool uncompressToFile(const Utils::WString &toFile, CBaseFile *spkFile, bool includeDir = true, CProgressInfo *progress = NULL);
|
316 |
bool uncompressToFile(const Utils::WString &toFile, CBaseFile *spkFile, bool includeDir = true, CProgressInfo *progress = NULL);
|
316 |
bool ChangeCompression(int compresstyp, CProgressInfo *progress);
|
317 |
bool ChangeCompression(int compresstyp, CProgressInfo *progress);
|
317 |
bool CompressData ( int compressionType, CProgressInfo * = NULL, int level = DEFAULT_COMPRESSION_LEVEL );
|
318 |
bool CompressData ( int compressionType, CProgressInfo * = NULL, int level = DEFAULT_COMPRESSION_LEVEL );
|
318 |
bool CompressFile ( CProgressInfo * = NULL );
|
319 |
bool CompressFile ( CProgressInfo * = NULL );
|
319 |
bool UncompressData ( CProgressInfo * = NULL );
|
320 |
bool UncompressData ( CProgressInfo * = NULL );
|