blob: ee36764c50b6ca57becc338cf7cb60801d86c654 (
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
|
#pragma once
#include "common.h"
class CContact : public Contact
{
public:
typedef void (CSkypeProto::* OnContactChanged)(CContact::Ref contact, int);
typedef DRef<CContact, Contact> Ref;
typedef DRefs<CContact, Contact> Refs;
CContact(unsigned int oid, SERootObject* root);
SEString GetSid();
SEString GetNick();
bool GetFullname(SEString &firstName, SEString &lastName);
void SetOnContactChangedCallback(OnContactChanged callback, CSkypeProto* proto);
private:
CSkypeProto* proto;
OnContactChanged callback;
void OnChange(int prop);
};
|