Add a progress event while unzipping.

The progress is determined by the compressed file size and zip entries.
This commit is contained in:
Andreas Dangel
2014-03-14 21:22:20 -04:00
parent d3c40f0e95
commit 281571d99f
2 changed files with 17 additions and 0 deletions
+1
View File
@@ -46,6 +46,7 @@
- (void)zipArchiveWillUnzipFileAtIndex:(NSInteger)fileIndex totalFiles:(NSInteger)totalFiles archivePath:(NSString *)archivePath fileInfo:(unz_file_info)fileInfo;
- (void)zipArchiveDidUnzipFileAtIndex:(NSInteger)fileIndex totalFiles:(NSInteger)totalFiles archivePath:(NSString *)archivePath fileInfo:(unz_file_info)fileInfo;
- (void)zipArchiveProgressEvent:(NSInteger)loaded total:(NSInteger)total;
@end
#endif /* _SSZIPARCHIVE_H */