summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_subclassing.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Skype/src/skype_subclassing.h')
-rw-r--r--protocols/Skype/src/skype_subclassing.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/protocols/Skype/src/skype_subclassing.h b/protocols/Skype/src/skype_subclassing.h
new file mode 100644
index 0000000000..466b84809e
--- /dev/null
+++ b/protocols/Skype/src/skype_subclassing.h
@@ -0,0 +1,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();
+};
+