diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-11 20:59:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-11 22:24:04 +0300 |
commit | af8863d722f06153877d289b939b5ba84713621d (patch) | |
tree | cbb97e2ea203d40615c49803c50b7f3c82f53ad6 /src/utils | |
parent | 0148cb8ad0e071464f09ada9eb41625dee038cb8 (diff) | |
download | plus-af8863d722f06153877d289b939b5ba84713621d.tar.gz plus-af8863d722f06153877d289b939b5ba84713621d.tar.bz2 plus-af8863d722f06153877d289b939b5ba84713621d.tar.xz plus-af8863d722f06153877d289b939b5ba84713621d.zip |
add support for map layer replacments.
This can be used for mods.
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/xml.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/xml.h b/src/utils/xml.h index 5c1fb7605..48d60cda7 100644 --- a/src/utils/xml.h +++ b/src/utils/xml.h @@ -90,6 +90,9 @@ namespace XML */ XmlNodePtr rootNode() A_WARN_UNUSED; + bool isLoaded() const + { return mDoc != nullptr; } + private: xmlDocPtr mDoc; }; |