blob: 41e183821b7b6457ab46ce6b48cf2e1be0e684a8 (
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
26
27
|
#include "..\skype.h"
#include "participant.h"
#include "..\skype_chat.h"
CParticipant::CParticipant(unsigned int oid, SERootObject* root) :
Participant(oid, root)
{
this->room = NULL;
}
//void CParticipant::SetOnChangedCallback(OnChanged callback, ChatRoom *room)
//{
// this->room = room;
// this->callback = callback;
//}
void CParticipant::SetChatRoom(ChatRoom *room)
{
this->room = room;
}
void CParticipant::OnChange(int prop)
{
if (this->room != NULL)
this->room->OnParticipantChanged(this->ref(), prop);
//(room->*callback)(this->ref(), prop);
}
|