summaryrefslogtreecommitdiff
path: root/src/fs/virtfileprivate.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-24 19:10:28 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-24 23:31:22 +0300
commit0bb68a88e6dc6a04685825e80b4e3dca1dc097d2 (patch)
tree07a4e3bd321c5199fe4d388a1c6cb9923a147c0c /src/fs/virtfileprivate.h
parentd1b37a4b299809c3eb11b073ab4eafdb773b8a45 (diff)
downloadplus-0bb68a88e6dc6a04685825e80b4e3dca1dc097d2.tar.gz
plus-0bb68a88e6dc6a04685825e80b4e3dca1dc097d2.tar.bz2
plus-0bb68a88e6dc6a04685825e80b4e3dca1dc097d2.tar.xz
plus-0bb68a88e6dc6a04685825e80b4e3dca1dc097d2.zip
Add support for extract files from zip archives.
Diffstat (limited to 'src/fs/virtfileprivate.h')
-rw-r--r--src/fs/virtfileprivate.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fs/virtfileprivate.h b/src/fs/virtfileprivate.h
index 62e510142..ace7b49e0 100644
--- a/src/fs/virtfileprivate.h
+++ b/src/fs/virtfileprivate.h
@@ -32,7 +32,7 @@ struct VirtFilePrivate final
{
VirtFilePrivate();
- explicit VirtFilePrivate(PHYSFS_file *const file);
+ explicit VirtFilePrivate(PHYSFS_file *restrict const file);
explicit VirtFilePrivate(const int fd);
@@ -40,7 +40,10 @@ struct VirtFilePrivate final
~VirtFilePrivate();
+ // physfs fields
PHYSFS_file *mFile;
+
+ // dirfs fields
int mFd;
};