| 493 | } |
| 494 | |
| 495 | bool QuaZip::goToNextFile() |
| 496 | { |
| 497 | p->zipError=UNZ_OK; |
| 498 | if(p->mode!=mdUnzip) { |
| 499 | qWarning("QuaZip::goToFirstFile(): ZIP is not open in mdUnzip mode"); |
| 500 | return false; |
| 501 | } |
| 502 | p->zipError=unzGoToNextFile(p->unzFile_f); |
| 503 | p->hasCurrentFile_f=p->zipError==UNZ_OK; |
| 504 | if(p->zipError==UNZ_END_OF_LIST_OF_FILE) |
| 505 | p->zipError=UNZ_OK; |
| 506 | return p->hasCurrentFile_f; |
| 507 | } |
| 508 | |
| 509 | bool QuaZip::getCurrentFileInfo(QuaZipFileInfo *info)const |
| 510 | { |