summaryrefslogtreecommitdiff
path: root/plugins/!Deprecated/Skype/src/skypekit/participant.h
blob: 170c14f1b77f47b34ff948d9ece17b076ab8bd5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#pragma once

#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);
	void SetChatRoom(ChatRoom *room);

private:
	ChatRoom *room;
	//OnChanged callback;

	void OnChange(int prop);
};