summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-11-10 17:19:12 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-11-10 17:19:12 +0000
commitb43b7abf33f5b2ab480a85584df0e3ce8c76a8ca (patch)
tree98a2b9c9038974e76d40ffe7114bd7ea2df8290f /protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h
parent7ec4cc63fa1b31af0496ac934d001323519c838f (diff)
much less crazy imlementaion of xml reader
git-svn-id: http://svn.miranda-ng.org/main/trunk@10945 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h')
-rw-r--r--protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h b/protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h
index 3156c8b7e7..d810852314 100644
--- a/protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h
+++ b/protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h
@@ -26,11 +26,11 @@ public:
string toString();
ProtocolTreeNode* getChild(const string& id);
ProtocolTreeNode* getChild(size_t id);
- string* getAttributeValue(const string& attribute);
+ const string& getAttributeValue(const string& attribute);
- vector<ProtocolTreeNode*>* getAllChildren();
- vector<ProtocolTreeNode*>* getAllChildren(const string& tag);
- std::string* getDataAsString();
+ vector<ProtocolTreeNode*> getAllChildren();
+ vector<ProtocolTreeNode*> getAllChildren(const string& tag);
+ std::string getDataAsString();
static bool tagEquals(ProtocolTreeNode *node, const string& tag);
static void require(ProtocolTreeNode *node, const string& tag);