summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-01-26 00:17:21 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-01-26 00:17:21 +0000
commit0072a0880c077fc0a21fd57214e6c5bf8497402a (patch)
treea4c4a2667fbca02b195ebc5c268752ab3a407aea /protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h
parentd32c7402ad63175d48579a2779d47800a2dd74c2 (diff)
first version that logs in
git-svn-id: http://svn.miranda-ng.org/main/trunk@11913 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h')
-rw-r--r--protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h b/protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h
index 0731d97ab1..6be09cef8d 100644
--- a/protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h
+++ b/protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h
@@ -54,14 +54,14 @@ public:
ProtocolTreeNode(const string& tag, ProtocolTreeNode* child);
ProtocolTreeNode(const string& tag, vector<unsigned char>* data = NULL, vector<ProtocolTreeNode*> *children = NULL);
- string toString();
+ string toString() const;
ProtocolTreeNode* getChild(const string& id);
ProtocolTreeNode* getChild(size_t id);
const string& getAttributeValue(const string& attribute);
vector<ProtocolTreeNode*> getAllChildren();
vector<ProtocolTreeNode*> getAllChildren(const string& tag);
- std::string getDataAsString();
+ std::string getDataAsString() const;
static bool tagEquals(ProtocolTreeNode *node, const string& tag);
static void require(ProtocolTreeNode *node, const string& tag);