diff options
Diffstat (limited to 'protocols/SkypeWeb/src/skype_utils.h')
| -rw-r--r-- | protocols/SkypeWeb/src/skype_utils.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/protocols/SkypeWeb/src/skype_utils.h b/protocols/SkypeWeb/src/skype_utils.h index aecb8f66fe..7ea1e290dd 100644 --- a/protocols/SkypeWeb/src/skype_utils.h +++ b/protocols/SkypeWeb/src/skype_utils.h @@ -60,4 +60,14 @@ struct CFileUploadParam : public MZeroedObject }
};
+struct SkypeReply : public JsonReply
+{
+ SkypeReply(MHttpResponse *response) :
+ JsonReply(response)
+ {
+ if (m_root)
+ m_errorCode = (*m_root)["status"]["code"].as_int();
+ }
+};
+
#endif //_UTILS_H_
|
