diff options
Diffstat (limited to 'src/utils/xml.h')
-rw-r--r-- | src/utils/xml.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/utils/xml.h b/src/utils/xml.h index d8a281045..9ed433ad5 100644 --- a/src/utils/xml.h +++ b/src/utils/xml.h @@ -93,8 +93,14 @@ namespace XML bool isLoaded() const { return mDoc != nullptr; } + bool isValid() const + { return mIsValid; } + + static bool validateXml(const std::string &fileName); + private: xmlDocPtr mDoc; + bool mIsValid; }; /** |