summaryrefslogtreecommitdiff
path: root/src/utils/xml.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/xml.h')
-rw-r--r--src/utils/xml.h3
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;
};