summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-02-06 23:36:02 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-02-06 23:36:02 +0000
commitb2f86045d3b3dc2a454f127f186429b60e493072 (patch)
treef56c5696ef3ebf62b1a97e4abbfcbc332adbbd28 /protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h
parent8c6ce1ceb218db86d059372e18277c16b1ab20cb (diff)
merge from branch
git-svn-id: http://svn.miranda-ng.org/main/trunk@12029 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h')
-rw-r--r--protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h b/protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h
index aeb1b6e18e..50e0f4033d 100644
--- a/protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h
+++ b/protocols/WhatsApp/src/WhatsAPI++/ProtocolTreeNode.h
@@ -55,21 +55,21 @@ public:
map<string, string> *attributes;
vector<ProtocolTreeNode*> *children;
- ProtocolTreeNode(const string& tag, ProtocolTreeNode* child);
- ProtocolTreeNode(const string& tag, vector<unsigned char>* data = NULL, vector<ProtocolTreeNode*> *children = NULL);
+ ProtocolTreeNode(const string &tag, ProtocolTreeNode *child);
+ ProtocolTreeNode(const string &tag, vector<unsigned char> *data = NULL, vector<ProtocolTreeNode*> *children = NULL);
~ProtocolTreeNode();
string toString() const;
- ProtocolTreeNode* getChild(const string& id);
+ ProtocolTreeNode* getChild(const string &id);
ProtocolTreeNode* getChild(size_t id);
- const string& getAttributeValue(const string& attribute);
+ const string& getAttributeValue(const string &attribute);
vector<ProtocolTreeNode*> getAllChildren();
- vector<ProtocolTreeNode*> getAllChildren(const string& tag);
+ vector<ProtocolTreeNode*> getAllChildren(const string &tag);
std::string getDataAsString() const;
- static bool tagEquals(ProtocolTreeNode *node, const string& tag);
- static void require(ProtocolTreeNode *node, const string& tag);
+ static bool tagEquals(ProtocolTreeNode *node, const string &tag);
+ static void require(ProtocolTreeNode *node, const string &tag);
};
ProtocolTreeNode& operator<<(ProtocolTreeNode&, const XATTR&);