summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_subclassing.h
blob: 466b84809ed93aaf58eb762307635626c85b4558 (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
#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();
};