diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-07 13:11:14 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-07 13:11:14 +0000 |
commit | 01f445ee06bc3f303d4e7d8fb00938220adbf618 (patch) | |
tree | d4dfe5dbe1f8923f1601cd4e568328aba5475825 /protocols/SkypeWeb/src/skype_proto.h | |
parent | 00d6d7d71a015dfeb34e891f0ebe39a7795ea57f (diff) |
SkypeWeb: Chats support part 1.
git-svn-id: http://svn.miranda-ng.org/main/trunk@12649 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.h')
-rw-r--r-- | protocols/SkypeWeb/src/skype_proto.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.h b/protocols/SkypeWeb/src/skype_proto.h index d85ccb797c..426b40706b 100644 --- a/protocols/SkypeWeb/src/skype_proto.h +++ b/protocols/SkypeWeb/src/skype_proto.h @@ -204,13 +204,17 @@ private: void OnGetServerHistory(const NETLIBHTTPREQUEST *response);
+ //chats
+ MCONTACT AddChatRoom(const char *chatname);
+
//polling
void __cdecl ParsePollData(JSONNODE *data);
void __cdecl PollingThread(void*);
- void CSkypeProto::ProcessEndpointPresenceRes(JSONNODE *node);
- void CSkypeProto::ProcessUserPresenceRes(JSONNODE *node);
- void CSkypeProto::ProcessNewMessageRes(JSONNODE *node);
-
+ void ProcessEndpointPresenceRes(JSONNODE *node);
+ void ProcessUserPresenceRes(JSONNODE *node);
+ void ProcessNewMessageRes(JSONNODE *node);
+ void ProcessConversationUpdateRes(JSONNODE *node);
+ void ProcessThreadUpdateRes(JSONNODE *node);
// utils
bool IsOnline();
MEVENT AddEventToDb(MCONTACT hContact, WORD type, DWORD timestamp, DWORD flags, DWORD cbBlob, PBYTE pBlob);
@@ -223,6 +227,7 @@ private: static void ShowNotification(const TCHAR *caption, const TCHAR *message, int flags = 0, MCONTACT hContact = NULL);
void SetServerStatus(int iNewStatus);
static bool IsFileExists(std::tstring path);
+ char *ChatUrlToName(const char *url);
char *ContactUrlToName(const char *url);
char *SelfUrlToName(const char *url);
char *GetServerFromUrl(const char *url);
|