summaryrefslogtreecommitdiff
path: root/src/fs/virtfileprivate.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-23 01:06:11 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-23 01:06:11 +0300
commit2b6106c41f3959d4deb8efc58c9055de0339959e (patch)
tree2ae271cd59997d4fe128e0173c0224e28417b34b /src/fs/virtfileprivate.h
parent76667ef0fa911fc8bf37df72896645dbfbbc0763 (diff)
downloadmv-2b6106c41f3959d4deb8efc58c9055de0339959e.tar.gz
mv-2b6106c41f3959d4deb8efc58c9055de0339959e.tar.bz2
mv-2b6106c41f3959d4deb8efc58c9055de0339959e.tar.xz
mv-2b6106c41f3959d4deb8efc58c9055de0339959e.zip
Impliment basic VirtFsDir for virtual fs based on directories.
Api similar to VirtFs. VirtFsDir unused for now.
Diffstat (limited to 'src/fs/virtfileprivate.h')
-rw-r--r--src/fs/virtfileprivate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fs/virtfileprivate.h b/src/fs/virtfileprivate.h
index 5b280de78..62e510142 100644
--- a/src/fs/virtfileprivate.h
+++ b/src/fs/virtfileprivate.h
@@ -34,11 +34,14 @@ struct VirtFilePrivate final
explicit VirtFilePrivate(PHYSFS_file *const file);
+ explicit VirtFilePrivate(const int fd);
+
A_DELETE_COPY(VirtFilePrivate)
~VirtFilePrivate();
PHYSFS_file *mFile;
+ int mFd;
};
#endif // UTILS_VIRTFILEPRIVATE_H