From 6f1214448f735d574dab24d5b030c60a96b9caa8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 24 Jul 2016 15:15:21 +0300 Subject: Add xml loader. For now unused. --- src/utils/xml/libxml.h | 4 +++- src/utils/xml/pugixml.h | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'src/utils') 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 #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 #include @@ -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: /** -- cgit v1.2.3-70-g09d2