summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtzipentry.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-02 04:28:19 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-02 04:55:18 +0300
commit4b1ca08f26152fbcfb5eb838d271fdd88c381eca (patch)
treea005f6414ead9ae4ee287e6d198bab68ad6bdf63 /src/fs/virtfs/virtzipentry.h
parentce9dd5dfa8e49e5204f25e079c1283ab6173b7cb (diff)
downloadplus-4b1ca08f26152fbcfb5eb838d271fdd88c381eca.tar.gz
plus-4b1ca08f26152fbcfb5eb838d271fdd88c381eca.tar.bz2
plus-4b1ca08f26152fbcfb5eb838d271fdd88c381eca.tar.xz
plus-4b1ca08f26152fbcfb5eb838d271fdd88c381eca.zip
Add base class for VirtDirEntry and VirtZipEntry.
Diffstat (limited to 'src/fs/virtfs/virtzipentry.h')
-rw-r--r--src/fs/virtfs/virtzipentry.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fs/virtfs/virtzipentry.h b/src/fs/virtfs/virtzipentry.h
index 6cd29f76e..5114d99bf 100644
--- a/src/fs/virtfs/virtzipentry.h
+++ b/src/fs/virtfs/virtzipentry.h
@@ -22,6 +22,8 @@
#define UTILS_VIRTZIPENTRY_H
#ifndef USE_PHYSFS
+#include "fs/virtfs/virtfsentry.h"
+
#include <string>
#include <vector>
@@ -29,7 +31,7 @@
struct ZipLocalHeader;
-struct VirtZipEntry final
+struct VirtZipEntry final : public VirtFsEntry
{
explicit VirtZipEntry(const std::string &restrict archiveName);
@@ -37,8 +39,6 @@ struct VirtZipEntry final
~VirtZipEntry();
- std::string mArchiveName;
-
std::vector<ZipLocalHeader*> mHeaders;
std::vector<std::string> mDirs;
};