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

#include "common.h"

class CAccount : public Account
{
public:
	typedef DRef<CAccount, Account> Ref;
	typedef DRefs<CAccount, Account> Refs;
	
	CAccount(unsigned int oid, CSkypeProto*);

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

private:
	CSkypeProto* ppro;

	void OnChange(int prop);
};