summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtfile.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-28 18:36:17 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-28 18:36:17 +0300
commitdf287d79b978cdd97f6bf406bfbb19e2b32702d2 (patch)
tree032698795c91ed500db43ef80a4940429be8ef80 /src/fs/virtfs/virtfile.cpp
parent85f9c6a022a5a8c5b868fed9bd804811360d2e07 (diff)
downloadplus-df287d79b978cdd97f6bf406bfbb19e2b32702d2.tar.gz
plus-df287d79b978cdd97f6bf406bfbb19e2b32702d2.tar.bz2
plus-df287d79b978cdd97f6bf406bfbb19e2b32702d2.tar.xz
plus-df287d79b978cdd97f6bf406bfbb19e2b32702d2.zip
Move virtfile into virtfs directory.
Diffstat (limited to 'src/fs/virtfs/virtfile.cpp')
-rw-r--r--src/fs/virtfs/virtfile.cpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/fs/virtfs/virtfile.cpp b/src/fs/virtfs/virtfile.cpp
new file mode 100644
index 000000000..b60db8c99
--- /dev/null
+++ b/src/fs/virtfs/virtfile.cpp
@@ -0,0 +1,36 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2017 The ManaPlus Developers
+ *
+ * This file is part of The ManaPlus Client.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "fs/virtfs/virtfile.h"
+
+#include "fs/virtfs/virtfileprivate.h"
+
+#include "debug.h"
+
+VirtFile::VirtFile(const VirtFsFuncs *restrict const funcs0) :
+ funcs(funcs0),
+ mPrivate(nullptr)
+{
+}
+
+VirtFile::~VirtFile()
+{
+ delete mPrivate;
+}