summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_proto.h
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-04-19 09:28:27 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-04-19 09:28:27 +0000
commitdfd240cf80509c4b33e44482e637b6500f4e563a (patch)
tree591fe44b26d6aa090aa74ccdcc0ba7f5a766f1c0 /protocols/SkypeWeb/src/skype_proto.h
parente6f13847b5deb0c9c1dd968364baaa7faa5f7690 (diff)
SkypeWeb: Chat fixes.
git-svn-id: http://svn.miranda-ng.org/main/trunk@12929 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.h')
-rw-r--r--protocols/SkypeWeb/src/skype_proto.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.h b/protocols/SkypeWeb/src/skype_proto.h
index 6de18d45aa..e9d47796df 100644
--- a/protocols/SkypeWeb/src/skype_proto.h
+++ b/protocols/SkypeWeb/src/skype_proto.h
@@ -225,7 +225,7 @@ private:
int __cdecl OnGroupChatEventHook(WPARAM, LPARAM lParam);
int __cdecl OnGroupChatMenuHook(WPARAM, LPARAM lParam);
- void StartChatRoom(MCONTACT hChatRoom, bool showWindow = false);
+ void StartChatRoom(const TCHAR *tid, const TCHAR *tname);
void OnGetChatInfo(const NETLIBHTTPREQUEST *response);
@@ -234,6 +234,12 @@ private:
void OnChatEvent(JSONNODE *node);
+ char *GetChatUsers(const TCHAR *chat_id);
+ bool IsChatContact(const TCHAR *chat_id, const char *id);
+ void AddChatContact(const TCHAR *tchat_id, const char *id, const char *name, const TCHAR *role);
+
+ void RemoveChatContact(const TCHAR *tchat_id, const char *id, const char *name);
+
//polling
void __cdecl PollingThread(void*);
void ParsePollData(JSONNODE *data);