o cleanup

This commit is contained in:
optixx
2009-04-22 20:04:28 +02:00
parent 55e3468f74
commit 0c378a9f7c
1078 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#include "zlib/unzip.h"
#define ZIP_MAX_FILE_NAME PATH_MAX
class ZipReader : public Reader {
public:
unsigned size();
uint8_t* read(unsigned length = 0);
bool ready();
ZipReader(const char *fn);
~ZipReader();
private:
unzFile zipfile;
unsigned filesize;
bool zipready;
char cname[PATH_MAX];
};