blob: ff395594a59e07c76763c5b625e938abc02f4eda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#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, SERootObject* root);
void SetOnContactListChangedCallback(OnContactListChanged callback, CSkypeProto* proto);
private:
CSkypeProto* proto;
OnContactListChanged callback;
void OnChange(const ContactRef &contact);
};
|