summaryrefslogtreecommitdiff
path: root/src/fs/ziplocalheader.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-25 19:10:51 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-25 19:11:57 +0300
commite6198149823ee18e4167b0e6dd34cfb7f2e2f496 (patch)
tree013181d9d8e4f06433838cffaabf6159aa2f775b /src/fs/ziplocalheader.h
parent0bb68a88e6dc6a04685825e80b4e3dca1dc097d2 (diff)
downloadmv-e6198149823ee18e4167b0e6dd34cfb7f2e2f496.tar.gz
mv-e6198149823ee18e4167b0e6dd34cfb7f2e2f496.tar.bz2
mv-e6198149823ee18e4167b0e6dd34cfb7f2e2f496.tar.xz
mv-e6198149823ee18e4167b0e6dd34cfb7f2e2f496.zip
Implement basic VirtFsZip for virtual fs based on zip archives.
Api similar to VirtFs. For now unused.
Diffstat (limited to 'src/fs/ziplocalheader.h')
-rw-r--r--src/fs/ziplocalheader.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/fs/ziplocalheader.h b/src/fs/ziplocalheader.h
index 8905d4c48..f3a1894ce 100644
--- a/src/fs/ziplocalheader.h
+++ b/src/fs/ziplocalheader.h
@@ -25,22 +25,16 @@
#include <string>
+struct VirtZipEntry;
+
struct ZipLocalHeader final
{
- ZipLocalHeader() :
- archiveName(),
- fileName(),
- dataOffset(0U),
- compressSize(0U),
- uncompressSize(0U),
- compressed(false)
- {
- }
+ ZipLocalHeader();
A_DELETE_COPY(ZipLocalHeader)
- std::string archiveName;
std::string fileName;
+ VirtZipEntry *zipEntry;
uint32_t dataOffset;
uint32_t compressSize;
uint32_t uncompressSize;