summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-24 15:15:21 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-24 15:15:21 +0300
commit6f1214448f735d574dab24d5b030c60a96b9caa8 (patch)
tree0cf963a21e74f2e11d512782e8e4b4031517441a /src/utils
parenta8ef3db9e6f0954ed4ea6c04649035eaaa604287 (diff)
downloadmanaverse-6f1214448f735d574dab24d5b030c60a96b9caa8.tar.gz
manaverse-6f1214448f735d574dab24d5b030c60a96b9caa8.tar.bz2
manaverse-6f1214448f735d574dab24d5b030c60a96b9caa8.tar.xz
manaverse-6f1214448f735d574dab24d5b030c60a96b9caa8.zip
Add xml loader. For now unused.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/xml/libxml.h4
-rw-r--r--src/utils/xml/pugixml.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/utils/xml/libxml.h b/src/utils/xml/libxml.h
index ca8c99639..1e03023ac 100644
--- a/src/utils/xml/libxml.h
+++ b/src/utils/xml/libxml.h
@@ -32,6 +32,8 @@
#include "utils/xml/libxml.inc"
+#include "resources/resource.h"
+
#ifndef _GLIBCXX_STRING
#include <string>
#endif // _GLIBCXX_STRING
@@ -47,7 +49,7 @@ namespace XML
* A helper class for parsing an XML document, which also cleans it up
* again (RAII).
*/
- class Document final
+ class Document final : public Resource
{
public:
/**
diff --git a/src/utils/xml/pugixml.h b/src/utils/xml/pugixml.h
index ef7b3e798..0f2d049e6 100644
--- a/src/utils/xml/pugixml.h
+++ b/src/utils/xml/pugixml.h
@@ -32,6 +32,8 @@
#include "utils/xml/pugixml.inc"
+#include "resources/resource.h"
+
#include <pugixml.hpp>
#include <string>
@@ -47,7 +49,7 @@ namespace XML
* A helper class for parsing an XML document, which also cleans it up
* again (RAII).
*/
- class Document final
+ class Document final : public Resource
{
public:
/**