mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-29 22:35:45 +00:00
29 lines
389 B
C
29 lines
389 B
C
|
#ifndef VFS_ZIP_ARCHIVE_REF
|
||
|
#define VFS_ZIP_ARCHIVE_REF
|
||
|
|
||
|
#include "VFSFile.h"
|
||
|
|
||
|
|
||
|
VFS_NAMESPACE_START
|
||
|
|
||
|
class ZipArchiveRef : public Refcounted
|
||
|
{
|
||
|
public:
|
||
|
ZipArchiveRef(File *archive);
|
||
|
~ZipArchiveRef();
|
||
|
bool openRead();
|
||
|
void close();
|
||
|
bool init();
|
||
|
void *mz;
|
||
|
const char *fullname() const;
|
||
|
|
||
|
protected:
|
||
|
CountedPtr<File> archiveFile;
|
||
|
};
|
||
|
|
||
|
|
||
|
VFS_NAMESPACE_END
|
||
|
|
||
|
#endif
|
||
|
|