| cbNothing |
Not used. You can use it for your own purposes. |
| cbAdd |
Compressing a file. The callback called when adding a file with one of the CZipArchive::AddNewFile methods. |
| cbAddTmp |
Moving a file from a temporary archive. The callback called while adding a file (only on a segmented archive) when the smartness level contains CZipArchive::zipsmCheckForEff or CZipArchive::zipsmCheckForEffInMem and if the just compressed file is being moved from a temporary place (file or memory) to the archive. |
| cbAddStore |
Storing a file. The callback called while adding a file and if its compressing has proven to be inefficient and it is now being stored (instead of compressed) in the archive. The smartness level must contain CZipArchive::zipsmCheckForEff or CZipArchive::zipsmCheckForEffInMem. The archive can be segmented or not. |
| cbExtract |
Extracting a file. The callback called when extracting a file with one of the CZipArchive::ExtractFile methods. |
| cbDeleteCnt |
Counting data to process before deleting. The callback called before the actual deletion takes place and the map of holes and continuous areas is being created. It is safe to abort the operation (by returning false from the callback method). |
| cbDelete |
Deleting files. The callback called when moving data while deleting file(s) with the CZipArchive::RemoveFile method or one of the CZipArchive::RemoveFiles methods. |
| cbTest |
Testing a file. The callback called when testing a file with the CZipArchive::TestFile method. |
| cbSave |
Saving the central directory. The callback called when saving the central directory with the CZipCentralDir::Write method (usually on close or flush). It is safe to abort the operation on a segmented archive - the saved part of the central directory will be removed from disk. |
| cbGet |
Getting a file from another archive. The callback called when using one of the CZipArchive::GetFromArchive methods. |
| cbRename |
Renaming a file. The callback called when during renaming a file there is a need to make less or more space for the new filename. |
| cbMoveData |
Moving data. The callback called when moving data inside the archive. It happens while replacing files to make less or more space for the new file or while shifting data with the CZipArchive::ShiftData() method. |
| cbCalculateForMulti |
The callback called when counting files and bytes to process when performing multiple actions. When this callback is called, CZipActionCallback::m_uTotalToProcess is not set (because it is not known and that's why the counting is performed), but it allows to abort the counting process. |
| cbMultiAdd |
The callback called when adding multiple files with one of the CZipArchive::AddNewFiles methods. This callback also registers for cbAdd.
- See also:
- Progress Notifications: Using Callback Objects
|
| cbEncryptPrepare |
The callback called when preparing existing files for encryption.
- See also:
- Encryption Methods: How to Best Protect Your Data
|
| cbEncryptMoveData |
The callback called in order to report the progress of making space inside the archive before the actual encryption takes place.
- See also:
- Encryption Methods: How to Best Protect Your Data
|
| cbEncrypt |
The callback called for every file being encrypted.
- See also:
- Encryption Methods: How to Best Protect Your Data
|
| cbMultiEncrypt |
The callback called when encrypting existing files in the archive. This callback also registers for cbEncryptMoveData and cbEncrypt.
- See also:
- Encryption Methods: How to Best Protect Your Data
Progress Notifications: Using Callback Objects
|
| cbNextValue |
Reserved. You can declare your own callback types above this value. Do not use the numeric value, but the symbol name - the value may change in the future releases of the library. |
| cbSubActions |
All sub-actions. Represents the sub-actions callbacks - they are called as a part of bigger actions (cbAddTmp | cbAddStore | cbDeleteCnt | cbMoveData | cbCalculateForMulti | cbEncryptPrepare | cbEncryptMoveData). |
| cbActions |
Main callbacks. Represents the main action callbacks (cbAdd | cbExtract | cbDelete | cbTest | cbSave | cbGet | cbRename | cbEncrypt). |
| cbMultiActions |
Multiple action callbacks. Represents the multiple action callbacks. |
| cbAll |
All values. Use this value to call one callback object for all callback types. |