summaryrefslogtreecommitdiff
path: root/src/fs/virtfile.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-27 18:16:39 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-27 18:16:39 +0300
commit6388446b85e1fa5deccc6d5c1683fba88ef53d99 (patch)
treedaaa6c764a34aece74de45dddc5b1e276d61774d /src/fs/virtfile.cpp
parent757069bdedabbd904e56d153e2e858db2a2cf2f1 (diff)
downloadplus-6388446b85e1fa5deccc6d5c1683fba88ef53d99.tar.gz
plus-6388446b85e1fa5deccc6d5c1683fba88ef53d99.tar.bz2
plus-6388446b85e1fa5deccc6d5c1683fba88ef53d99.tar.xz
plus-6388446b85e1fa5deccc6d5c1683fba88ef53d99.zip
Add functions pointers into VirtFile.
From VirtFs call if possible pointer from VirtFile.
Diffstat (limited to 'src/fs/virtfile.cpp')
-rw-r--r--src/fs/virtfile.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fs/virtfile.cpp b/src/fs/virtfile.cpp
index 3ed99ca2d..2fe475d4f 100644
--- a/src/fs/virtfile.cpp
+++ b/src/fs/virtfile.cpp
@@ -21,10 +21,12 @@
#include "fs/virtfile.h"
#include "fs/virtfileprivate.h"
+#include "fs/virtfsfuncs.h"
#include "debug.h"
-VirtFile::VirtFile() :
+VirtFile::VirtFile(const VirtFsFuncs *restrict const funcs0) :
+ funcs(funcs0),
mPrivate(nullptr)
{
}