Close the zip file
| 41 | |
| 42 | // Close the zip file |
| 43 | void unzipper::close() |
| 44 | { |
| 45 | if (zipFile_) |
| 46 | { |
| 47 | files_.clear(); |
| 48 | folders_.clear(); |
| 49 | |
| 50 | closeEntry(); |
| 51 | unzClose(zipFile_); |
| 52 | zipFile_ = nullptr; |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | // Check if a zipfile is open. |
| 57 | // return: |