Progress Event
Fired as progress is made.
Syntax
ANSI (Cross Platform) virtual int FireProgress(SDAProgressEventParams *e);
typedef struct {
const char *Filename;
int64 BytesProcessed;
int PercentProcessed; int reserved; } SDAProgressEventParams; Unicode (Windows) virtual INT FireProgress(SDAProgressEventParams *e);
typedef struct {
LPCWSTR Filename;
LONG64 BytesProcessed;
INT PercentProcessed; INT reserved; } SDAProgressEventParams;
- (void)onProgress:(NSString*)filename :(long long)bytesProcessed :(int)percentProcessed;
#define EID_SDA_PROGRESS 2 virtual INT IPWORKSOPENPGP_CALL FireProgress(LPSTR &lpszFilename, LONG64 &lBytesProcessed, INT &iPercentProcessed);
Remarks
The Progress event is automatically fired as compression is performed.
Filename contains the name of the file being written.
BytesProcessed contains the total number of uncompressed bytes processed.
PercentProcessed contains the percent of uncompressed bytes processed, corresponding roughly to the running time of the operation.