diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-10 13:21:25 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-10 13:21:25 +0000 |
commit | 75beae890b1f18d5753748f4935731ed93579ef8 (patch) | |
tree | 5cb0461034ec9b19db4b2d928caf79d6746b0974 /protocols/SkypeWeb/src/requests/capabilities.h | |
parent | e0ec38eb49bfd8dcddd4e46cbbca4fed98028b01 (diff) |
flags fix
cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@13506 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/requests/capabilities.h')
-rw-r--r-- | protocols/SkypeWeb/src/requests/capabilities.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/protocols/SkypeWeb/src/requests/capabilities.h b/protocols/SkypeWeb/src/requests/capabilities.h index f01036a5c3..eb972cafa5 100644 --- a/protocols/SkypeWeb/src/requests/capabilities.h +++ b/protocols/SkypeWeb/src/requests/capabilities.h @@ -41,30 +41,30 @@ public: CMStringA verString(::FORMAT, "%s x%d", g_szMirVer, bitness);
- JSONNODE *node = json_new(5);
+ JSONNODE *node = json_new(5);
JSONNODE *privateInfo = json_new(5);
- JSONNODE *publicInfo = json_new(5);
+ JSONNODE *publicInfo = json_new(5);
json_set_name(privateInfo, "privateInfo");
- json_set_name(publicInfo, "publicInfo");
+ json_set_name(publicInfo, "publicInfo");
- json_push_back(node, json_new_a ("id", "messagingService" ));
- json_push_back(node, json_new_a ("type", "EndpointPresenceDoc" ));
- json_push_back(node, json_new_a ("selfLink", "uri" ));
+ json_push_back(node, json_new_a("id", "messagingService"));
+ json_push_back(node, json_new_a("type", "EndpointPresenceDoc"));
+ json_push_back(node, json_new_a("selfLink", "uri"));
- json_push_back(privateInfo, json_new_a ("epname", compName ));
+ json_push_back(privateInfo, json_new_a("epname", compName));
- json_push_back(publicInfo, json_new_a ("capabilities", "Audio|Video" ));
- json_push_back(publicInfo, json_new_i ("typ", 125 ));
- json_push_back(publicInfo, json_new_a ("skypeNameVersion","Miranda NG Skype" ));
- json_push_back(publicInfo, json_new_a ("nodeInfo", "xx" ));
- json_push_back(publicInfo, json_new_a ("version", verString.GetBuffer() ));
+ json_push_back(publicInfo, json_new_a("capabilities", "Audio|Video"));
+ json_push_back(publicInfo, json_new_i("typ", 125));
+ json_push_back(publicInfo, json_new_a("skypeNameVersion", "Miranda NG Skype"));
+ json_push_back(publicInfo, json_new_a("nodeInfo", "xx"));
+ json_push_back(publicInfo, json_new_a("version", verString.GetBuffer()));
json_push_back(node, privateInfo);
json_push_back(node, publicInfo);
-
+
ptrA data(mir_utf8encodeT(ptrT(json_write(node))));
-
+
Body <<
VALUE(data);
|