AfterExtractFile Event
Marks the completion of extraction of an archived file.
Syntax
class ArchiveReaderAfterExtractFileEventParams { public: const QString &Path(); qint64 FileSize(); int DataSource(); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void AfterExtractFile(ArchiveReaderAfterExtractFileEventParams *e);
// Or, subclass ArchiveReader and override this emitter function. virtual int FireAfterExtractFile(ArchiveReaderAfterExtractFileEventParams *e) {...}
Remarks
Subscribe to this event to get notified about the completion of extraction of an archived file.
The Path parameter specifies the internal path to the entry inside the archive. The FileSize indicates the size of the decompressed file, and the DataSource specifies the type of the destination media.
fdsFile (0) | The data was saved to a file. |
fdsStream (1) | The data was saved into a stream assigned to FileStream property. |
fdsBuffer (2) | The file data is available in FileData buffer. |