summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skypekit/participant.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2013-06-10 19:42:11 +0000
committerAlexander Lantsev <aunsane@gmail.com>2013-06-10 19:42:11 +0000
commit4adc7e198f49bbd5b39141f13322b653402c8a79 (patch)
tree6f0be5aa2527a9ab1aa9f2966dc17b033847641c /protocols/Skype/src/skypekit/participant.h
parentcdf4d005c67b8b5ef62170ccd4fdd29579965d9c (diff)
Skype:
- fixed chat role updating - fixed chat commands git-svn-id: http://svn.miranda-ng.org/main/trunk@4911 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skypekit/participant.h')
-rw-r--r--protocols/Skype/src/skypekit/participant.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/protocols/Skype/src/skypekit/participant.h b/protocols/Skype/src/skypekit/participant.h
index 3d6e38b445..e6db40ca1f 100644
--- a/protocols/Skype/src/skypekit/participant.h
+++ b/protocols/Skype/src/skypekit/participant.h
@@ -2,14 +2,23 @@
#include "common.h"
+class ChatRoom;
+
class CParticipant : public Participant
{
public:
+ typedef void (ChatRoom::* OnChanged)(const ParticipantRef &participant, int);
+
typedef DRef<CParticipant, Participant> Ref;
typedef DRefs<CParticipant, Participant> Refs;
CParticipant(unsigned int oid, SERootObject* root);
+ void SetOnChangedCallback(OnChanged callback, ChatRoom *room);
+
private:
+ ChatRoom *room;
+ OnChanged callback;
+
void OnChange(int prop);
}; \ No newline at end of file