diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-02 04:28:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-02 04:55:18 +0300 |
commit | 4b1ca08f26152fbcfb5eb838d271fdd88c381eca (patch) | |
tree | a005f6414ead9ae4ee287e6d198bab68ad6bdf63 /src/fs/virtfs/virtdirentry.h | |
parent | ce9dd5dfa8e49e5204f25e079c1283ab6173b7cb (diff) | |
download | ManaVerse-4b1ca08f26152fbcfb5eb838d271fdd88c381eca.tar.gz ManaVerse-4b1ca08f26152fbcfb5eb838d271fdd88c381eca.tar.bz2 ManaVerse-4b1ca08f26152fbcfb5eb838d271fdd88c381eca.tar.xz ManaVerse-4b1ca08f26152fbcfb5eb838d271fdd88c381eca.zip |
Add base class for VirtDirEntry and VirtZipEntry.
Diffstat (limited to 'src/fs/virtfs/virtdirentry.h')
-rw-r--r-- | src/fs/virtfs/virtdirentry.h | 5 |
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 |