From 4b1ca08f26152fbcfb5eb838d271fdd88c381eca Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 2 Mar 2017 04:28:19 +0300 Subject: Add base class for VirtDirEntry and VirtZipEntry. --- src/fs/virtfs/virtfs.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/fs/virtfs/virtfs.cpp') 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 mEntries; +} // namespace + namespace VirtFs { void init(const std::string &restrict name) -- cgit v1.2.3-70-g09d2