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

#include "common.h"
#include "contact.h"

class CContactGroup : public ContactGroup
{
public:
	typedef void (CSkypeProto::* OnContactListChanged)(CContact::Ref contact);

	typedef DRef<CContactGroup, ContactGroup> Ref;
	typedef DRefs<CContactGroup, ContactGroup> Refs;
	CContactGroup(CSkypeProto*, unsigned int oid, SERootObject* root);

private:
	CSkypeProto* proto;

	void OnChange(const ContactRef &contact);
};