summaryrefslogtreecommitdiff
path: root/protocols/Icq10/src/http.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Icq10/src/http.h')
-rw-r--r--protocols/Icq10/src/http.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Icq10/src/http.h b/protocols/Icq10/src/http.h
index 1270d9445e..05dfa9ef99 100644
--- a/protocols/Icq10/src/http.h
+++ b/protocols/Icq10/src/http.h
@@ -21,11 +21,13 @@ class JsonReply
JSONNode *m_root = nullptr;
int m_errorCode = 0, m_detailCode = 0;
JSONNode* m_data = nullptr;
+ CMStringA m_requestId;
public:
JsonReply(NETLIBHTTPREQUEST*);
~JsonReply();
+ __forceinline const CMStringA& requestId() const { return m_requestId; }
__forceinline JSONNode& data() const { return *m_data; }
__forceinline int error() const { return m_errorCode; }
__forceinline int detail() const { return m_detailCode; }