summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_proto.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2013-05-31 10:50:56 +0000
committerAlexander Lantsev <aunsane@gmail.com>2013-05-31 10:50:56 +0000
commit34d923a55939cdbb5265696b1e84b22eb3c0c95e (patch)
tree8a72ef78f8159c3c1a7c4a9ba7c8de73c0fae0eb /protocols/Skype/src/skype_proto.h
parentb14c99cd412cee2957dcb65a2293d387c1041266 (diff)
second approach of a chats reworking.
Note, new code may not work! git-svn-id: http://svn.miranda-ng.org/main/trunk@4847 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_proto.h')
-rw-r--r--protocols/Skype/src/skype_proto.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/protocols/Skype/src/skype_proto.h b/protocols/Skype/src/skype_proto.h
index e7681806b6..ae9bc979f4 100644
--- a/protocols/Skype/src/skype_proto.h
+++ b/protocols/Skype/src/skype_proto.h
@@ -82,8 +82,15 @@ struct PasswordChangeBoxParam
}
};
+class ChatMember;
+class ChatRoom;
+class ChatList;
+
struct CSkypeProto : public PROTO_INTERFACE, private Skype
{
+ friend class ChatRoom;
+ friend class ChatList;
+
public:
// PROTO_INTERFACE
CSkypeProto(const char *protoName, const wchar_t *userName);
@@ -179,6 +186,11 @@ private:
const MessageRef & supersedesHistoryMessage,
const ConversationRef & conversation);
+ void OnConversationListChange(
+ const ConversationRef& conversation,
+ const Conversation::LIST_TYPE& type,
+ const bool& added);
+
int skypeKitPort;
PROCESS_INFORMATION skypeKitProcessInfo;
@@ -254,6 +266,7 @@ protected:
void OnTransferChanged(CTransfer::Ref transfer, int prop);
// chat
+ ChatList *chatList;
static wchar_t* Roles[];
bool IsChatRoom(HANDLE hContact);