summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skypekit/conversation.h
blob: b9b1a51da18ad6fefdfe9303b7e578384abfe3f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include "common.h"

class CConversation : public Conversation
{
public:
	typedef void (CSkypeProto::* OnConvoChanged)(const ConversationRef &conversation, int);

	typedef DRef<CConversation, Conversation> Ref;
	typedef DRefs<CConversation, Conversation> Refs;

	CConversation(unsigned int oid, SERootObject* root);

	void SetOnConvoChangedCallback(OnConvoChanged callback);

private:
	OnConvoChanged callback;

	void OnChange(int prop);
};