mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-08 15:21:12 +00:00
Update ttvfs to new version
This commit is contained in:
parent
209ad526c6
commit
8026cdd905
43 changed files with 2124 additions and 2427 deletions
28
ExternalLibs/ttvfs_zip/VFSZipArchiveRef.h
Normal file
28
ExternalLibs/ttvfs_zip/VFSZipArchiveRef.h
Normal file
|
@ -0,0 +1,28 @@
|
|||
#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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue