From 119f9233647a964c46be1c0bc0cf2829361a688e Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Wed, 19 Jun 2013 20:13:00 +0000 Subject: Skype: - added bookmarks for chat rooms (contact menu, srmm button bar, bookmark list window) - added "ignore command" for contact - added "block command" for contact (contact removed from clist and ignored) - changed icons git-svn-id: http://svn.miranda-ng.org/main/trunk@5047 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skypekit/participant.cpp | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'protocols/Skype/src/skypekit/participant.cpp') diff --git a/protocols/Skype/src/skypekit/participant.cpp b/protocols/Skype/src/skypekit/participant.cpp index 513f532a0f..41e183821b 100644 --- a/protocols/Skype/src/skypekit/participant.cpp +++ b/protocols/Skype/src/skypekit/participant.cpp @@ -1,5 +1,6 @@ #include "..\skype.h" #include "participant.h" +#include "..\skype_chat.h" CParticipant::CParticipant(unsigned int oid, SERootObject* root) : Participant(oid, root) @@ -7,14 +8,20 @@ CParticipant::CParticipant(unsigned int oid, SERootObject* root) : this->room = NULL; } -void CParticipant::SetOnChangedCallback(OnChanged callback, ChatRoom *room) +//void CParticipant::SetOnChangedCallback(OnChanged callback, ChatRoom *room) +//{ +// this->room = room; +// this->callback = callback; +//} + +void CParticipant::SetChatRoom(ChatRoom *room) { this->room = room; - this->callback = callback; } void CParticipant::OnChange(int prop) { if (this->room != NULL) - (room->*callback)(this->ref(), prop); + this->room->OnParticipantChanged(this->ref(), prop); + //(room->*callback)(this->ref(), prop); } \ No newline at end of file -- cgit v1.2.3