summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtfsentry.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-04 00:27:54 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-04 01:12:19 +0300
commit79bb654b80d5eb7a65814f80b9ca7ca1ccd62a00 (patch)
treef9669ee10e2ea3f2c41abaa84830da9efe7f9411 /src/fs/virtfs/virtfsentry.h
parenta6c70dd1f32c38cc81cfd4b28f929d7c13d86db1 (diff)
downloadplus-79bb654b80d5eb7a65814f80b9ca7ca1ccd62a00.tar.gz
plus-79bb654b80d5eb7a65814f80b9ca7ca1ccd62a00.tar.bz2
plus-79bb654b80d5eb7a65814f80b9ca7ca1ccd62a00.tar.xz
plus-79bb654b80d5eb7a65814f80b9ca7ca1ccd62a00.zip
Reimplement VirtFs in correct way. Now all tests should pass.
Diffstat (limited to 'src/fs/virtfs/virtfsentry.h')
-rw-r--r--src/fs/virtfs/virtfsentry.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/fs/virtfs/virtfsentry.h b/src/fs/virtfs/virtfsentry.h
index 0a73c7edb..367b90b2c 100644
--- a/src/fs/virtfs/virtfsentry.h
+++ b/src/fs/virtfs/virtfsentry.h
@@ -28,9 +28,12 @@
#include "localconsts.h"
+struct VirtFsFuncs;
+
struct VirtFsEntry notfinal
{
- explicit VirtFsEntry(const FsEntryType &type0);
+ VirtFsEntry(const FsEntryType &type0,
+ VirtFsFuncs *restrict const funcs);
A_DELETE_COPY(VirtFsEntry)
@@ -39,6 +42,8 @@ struct VirtFsEntry notfinal
std::string root;
FsEntryType type;
+
+ VirtFsFuncs *funcs;
};
#endif // USE_PHYSFS