summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_xml.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_xml.h')
-rw-r--r--protocols/JabberG/src/jabber_xml.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_xml.h b/protocols/JabberG/src/jabber_xml.h
index 5d96ded78f..c4b70e6fd9 100644
--- a/protocols/JabberG/src/jabber_xml.h
+++ b/protocols/JabberG/src/jabber_xml.h
@@ -28,6 +28,22 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
void XmlAddAttrID(TiXmlElement*, int id);
+class XmlNodeHash : public tinyxml2::XMLVisitor
+{
+ mir_md5_state_t state;
+
+ void add(const char *);
+
+public:
+ XmlNodeHash();
+
+ CMStringA getResult();
+
+ virtual bool VisitEnter(const TiXmlElement &, const tinyxml2::XMLAttribute *);
+};
+
+/////////////////////////////////////////////////////////////////////////////////////////
+
class XmlNode : public TiXmlDocument, private MNonCopyable
{
protected: