summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-02-14 19:49:00 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-02-14 19:49:00 +0300
commita1e08d59a3a7c4b4831216afa755c4e0579b2ed7 (patch)
tree0de8c7596fb27e0c7856011412beef9383ac87c2 /include
parent4fd7e4b563949b0f82d4e5fc81727af2de38da31 (diff)
added operator[] for XMLConstHandle & XMLHandle, making Xpath much shorter
Diffstat (limited to 'include')
-rw-r--r--include/m_xml.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/m_xml.h b/include/m_xml.h
index ee50229082..4dd02b271c 100644
--- a/include/m_xml.h
+++ b/include/m_xml.h
@@ -44,6 +44,9 @@ typedef tinyxml2::XMLText TiXmlText;
typedef tinyxml2::XMLElement TiXmlElement;
typedef tinyxml2::XMLDocument TiXmlDocument;
+typedef tinyxml2::XMLHandle TiXmlHandle;
+typedef tinyxml2::XMLConstHandle TiXmlConst;
+
/////////////////////////////////////////////////////////////////////////////////////////
// simple element iterator
//