summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skypekit/account.h
blob: 3b2b7063a58447c0ab6262e826e9a3caae9c2468 (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"

class CAccount : public Account
{
public:
	typedef void (CSkypeProto::* OnAccountChanged)(int);

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

	bool IsOnline();
	bool SetAvatar(SEBinary avatar, Skype::VALIDATERESULT &result);

private:
	CSkypeProto* ppro;

	void OnChange(int prop);
};