#include <ZipCallback.h>
List of all members.
CZipActionCallback::Callback
CZipArchive::SetCallback
Values used for specifying a callback type in the CZipArchive::SetCallback method. You can assign several values to the same callback object (use the logical OR).
OR
CZipActionCallback
false
Progress Notifications: Using Callback Objects
[inline, protected]
Caches the value returned from the GetStepSize() method. Called in the Init()method.
[inline, virtual]
Called after the operation finishes. It is not called in case of an exception, but it is called before throwing CZipException::abortedAction or CZipException::abortedSafely.
[inline, protected, virtual]
Calls the Callback() method internally, increases CZipActionCallback::m_uProcessed and lets the CZipActionCallback increase its values, if needed.
[inline]
Returns the current CMultiActionsInfo object in multiple actions operation or NULL, if the current operation is not one of CZipActionCallback::cbMultiActions actions.
NULL
Specifies how often the Callback() method is called. The Callback() method is called every n-th callback request, where n is the value returned from the GetStepSize() method. Override this method to adjust the frequency of calling the callback.
256
1
Do not use a too low value, because it may increase significantly the time needed to process a large number of files.
Called to initialize the callback object. Sets the filenames and resets m_uTotalToProcess and m_uProcessed variables to 0. m_iType variable is already set to the proper value. Called at the beginning of the operation.
0
Returns the amount of data left to process.
Called at the end of the multiple actions operation. Releases multiple actions information (CMultiActionsInfo). Override this method, if you want this information to be persisted after operation finishes. In that case, CMultiActionsInfo will be released on destruction.
Called when a multiple actions operation is about to begin. Initializes CMultiActionsInfo object.
GetMultiActionsInfo
Called when a next action begins in multiple actions processing. This method calls Callback method with uProgress parameter set to 0.
Called by processing classes when data processing progressed.
true
Called by processing classes when data processing is finished to allow calling the Callback() method for the remaining amount of processed data (for which the Callback() has not been called). This usually happens, when GetStepSize() does not return 1.
Initializes the values that depend on the frequency of calling the Callback() method. Called with every call to the Callback() method.
Sets the type of the callback, that will cause the current CMultiActionsInfo object to update its progress.
Called after calculating the total amount of data to process.
The type of the callback. It is set to one of the CallbackType values when an action begins. It's useful, if you have more than one callback assigned to the same callback object.
The name of the file being processed in the archive.
The total amount of data processed so far.
The total amount of data to process. This value is set when the SetTotal method is called.
Depending on the action it is set then to: