summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skypekit/group.h
blob: 0443d203ea997413125d127628dd7f463cb0690c (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(unsigned int oid, CSkypeProto*);

private:
	CSkypeProto* proto;

	void OnChange(const ContactRef &contact);
};