summaryrefslogtreecommitdiff
path: root/src/fs/virtfs
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/virtfs')
-rw-r--r--src/fs/virtfs/virtfs.cpp2
-rw-r--r--src/fs/virtfs/virtfs_unittest.cc2
-rw-r--r--src/fs/virtfs/virtfsdir.cpp2
-rw-r--r--src/fs/virtfs/virtfstools.cpp2
-rw-r--r--src/fs/virtfs/virtfszip.cpp2
-rw-r--r--src/fs/virtfs/virtlist.cpp32
-rw-r--r--src/fs/virtfs/virtlist.h39
7 files changed, 76 insertions, 5 deletions
diff --git a/src/fs/virtfs/virtfs.cpp b/src/fs/virtfs/virtfs.cpp
index 940bdb055..bab10197d 100644
--- a/src/fs/virtfs/virtfs.cpp
+++ b/src/fs/virtfs/virtfs.cpp
@@ -28,7 +28,7 @@
#include "fs/virtfs/virtfsdir.h"
#include "fs/virtfs/virtfsfuncs.h"
#include "fs/virtfs/virtfszip.h"
-#include "fs/virtlist.h"
+#include "fs/virtfs/virtlist.h"
#include "fs/virtfs/virtzipentry.h"
#include "fs/virtfs/zip.h"
diff --git a/src/fs/virtfs/virtfs_unittest.cc b/src/fs/virtfs/virtfs_unittest.cc
index 8e060b77f..902620303 100644
--- a/src/fs/virtfs/virtfs_unittest.cc
+++ b/src/fs/virtfs/virtfs_unittest.cc
@@ -25,7 +25,7 @@
#include "fs/virtfs/virtdirentry.h"
#include "fs/virtfs/virtfs.h"
#include "fs/virtfs/virtfstools.h"
-#include "fs/virtlist.h"
+#include "fs/virtfs/virtlist.h"
#include "utils/checkutils.h"
#include "utils/delete2.h"
diff --git a/src/fs/virtfs/virtfsdir.cpp b/src/fs/virtfs/virtfsdir.cpp
index 4e847f6cb..781182b8f 100644
--- a/src/fs/virtfs/virtfsdir.cpp
+++ b/src/fs/virtfs/virtfsdir.cpp
@@ -28,7 +28,7 @@
#include "fs/virtfs/virtfile.h"
#include "fs/virtfs/virtfileprivate.h"
#include "fs/virtfs/virtfsfuncs.h"
-#include "fs/virtlist.h"
+#include "fs/virtfs/virtlist.h"
#include "utils/checkutils.h"
#include "utils/stringutils.h"
diff --git a/src/fs/virtfs/virtfstools.cpp b/src/fs/virtfs/virtfstools.cpp
index 9d2260694..957b73e6e 100644
--- a/src/fs/virtfs/virtfstools.cpp
+++ b/src/fs/virtfs/virtfstools.cpp
@@ -25,7 +25,7 @@
#include "fs/paths.h"
#include "fs/virtfs/virtfs.h"
-#include "fs/virtlist.h"
+#include "fs/virtfs/virtlist.h"
#include "utils/stringutils.h"
diff --git a/src/fs/virtfs/virtfszip.cpp b/src/fs/virtfs/virtfszip.cpp
index ce08b935b..78c294f85 100644
--- a/src/fs/virtfs/virtfszip.cpp
+++ b/src/fs/virtfs/virtfszip.cpp
@@ -23,7 +23,7 @@
#include "fs/virtfs/virtfile.h"
#include "fs/virtfs/virtfileprivate.h"
#include "fs/virtfs/virtfsfuncs.h"
-#include "fs/virtlist.h"
+#include "fs/virtfs/virtlist.h"
#include "fs/virtfs/virtzipentry.h"
#include "fs/virtfs/zip.h"
#include "fs/virtfs/ziplocalheader.h"
diff --git a/src/fs/virtfs/virtlist.cpp b/src/fs/virtfs/virtlist.cpp
new file mode 100644
index 000000000..a2e8219f6
--- /dev/null
+++ b/src/fs/virtfs/virtlist.cpp
@@ -0,0 +1,32 @@
+/*
+ * 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/virtlist.h"
+
+#include "debug.h"
+
+VirtList::VirtList() :
+ names()
+{
+}
+
+VirtList::~VirtList()
+{
+}
diff --git a/src/fs/virtfs/virtlist.h b/src/fs/virtfs/virtlist.h
new file mode 100644
index 000000000..5b1d10924
--- /dev/null
+++ b/src/fs/virtfs/virtlist.h
@@ -0,0 +1,39 @@
+/*
+ * 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/>.
+ */
+
+#ifndef UTILS_VIRTLIST_H
+#define UTILS_VIRTLIST_H
+
+#include "utils/stringvector.h"
+
+#include "localconsts.h"
+
+struct VirtList final
+{
+ VirtList();
+
+ A_DELETE_COPY(VirtList)
+
+ ~VirtList();
+
+ StringVect names;
+};
+
+#endif // UTILS_VIRTLIST_H