summaryrefslogtreecommitdiff
path: root/src/fs/ziplocalheader.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-24 19:10:28 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-24 23:31:22 +0300
commit0bb68a88e6dc6a04685825e80b4e3dca1dc097d2 (patch)
tree07a4e3bd321c5199fe4d388a1c6cb9923a147c0c /src/fs/ziplocalheader.h
parentd1b37a4b299809c3eb11b073ab4eafdb773b8a45 (diff)
downloadmanaplus-0bb68a88e6dc6a04685825e80b4e3dca1dc097d2.tar.gz
manaplus-0bb68a88e6dc6a04685825e80b4e3dca1dc097d2.tar.bz2
manaplus-0bb68a88e6dc6a04685825e80b4e3dca1dc097d2.tar.xz
manaplus-0bb68a88e6dc6a04685825e80b4e3dca1dc097d2.zip
Add support for extract files from zip archives.
Diffstat (limited to 'src/fs/ziplocalheader.h')
-rw-r--r--src/fs/ziplocalheader.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fs/ziplocalheader.h b/src/fs/ziplocalheader.h
index 4a71d74c0..8905d4c48 100644
--- a/src/fs/ziplocalheader.h
+++ b/src/fs/ziplocalheader.h
@@ -32,7 +32,8 @@ struct ZipLocalHeader final
fileName(),
dataOffset(0U),
compressSize(0U),
- uncompressSize(0U)
+ uncompressSize(0U),
+ compressed(false)
{
}
@@ -43,6 +44,7 @@ struct ZipLocalHeader final
uint32_t dataOffset;
uint32_t compressSize;
uint32_t uncompressSize;
+ bool compressed;
};
#endif // UTILS_ZIPLOCALHEADER_H