summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtdirentry.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/virtdirentry.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/virtdirentry.h')
-rw-r--r--src/fs/virtfs/virtdirentry.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fs/virtfs/virtdirentry.h b/src/fs/virtfs/virtdirentry.h
index 88ab89366..013c63a6e 100644
--- a/src/fs/virtfs/virtdirentry.h
+++ b/src/fs/virtfs/virtdirentry.h
@@ -22,11 +22,13 @@
#define UTILS_VIRTDIRENTRY_H
#ifndef USE_PHYSFS
+#include "fs/virtfs/virtfsentry.h"
+
#include <string>
#include "localconsts.h"
-struct VirtDirEntry final
+struct VirtDirEntry final : public VirtFsEntry
{
VirtDirEntry(const std::string &userDir,
const std::string &rootDir);
@@ -36,7 +38,6 @@ struct VirtDirEntry final
~VirtDirEntry();
std::string mUserDir;
- std::string mRootDir;
};
#endif // USE_PHYSFS