summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_subclassing.h
blob: ffb971b82814430c54e46c155afad5a5ab9169d1 (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
27
28
29
30
31
#pragma once

#include <skype-embedded_2.h>

class CAccount;

class CSkype : public Skype
{
public:
	Account* newAccount(int oid);
};

class CAccount : public Account
{
public:
	typedef DRef<CAccount, Account> Ref;
	typedef DRefs<CAccount, Account> Refs;
	
	bool isLoggedOut;
	
	CAccount(unsigned int oid, SERootObject* root);
	void OnChange(int prop);
	
	void BlockWhileLoggingIn();
	void BlockWhileLoggingOut();
};

class CContact : public Contact
{
};