summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtfs.cpp
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/virtfs.cpp
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/virtfs.cpp')
-rw-r--r--src/fs/virtfs/virtfs.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fs/virtfs/virtfs.cpp b/src/fs/virtfs/virtfs.cpp
index 1069b8f7e..aa2f4d57c 100644
--- a/src/fs/virtfs/virtfs.cpp
+++ b/src/fs/virtfs/virtfs.cpp
@@ -28,6 +28,7 @@
#include "fs/virtlist.h"
#include "fs/virtfs/virtdirentry.h"
+#include "fs/virtfs/virtfsentry.h"
#include "fs/virtfs/virtfsdir.h"
#include "fs/virtfs/virtfszip.h"
@@ -37,6 +38,11 @@
const char *dirSeparator = nullptr;
+namespace
+{
+ std::vector<VirtFsEntry*> mEntries;
+} // namespace
+
namespace VirtFs
{
void init(const std::string &restrict name)