summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_subclassing.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2012-10-02 17:48:44 +0000
committerAlexander Lantsev <aunsane@gmail.com>2012-10-02 17:48:44 +0000
commita5ea1613d623ad8d7027ddd402632a842ba5f0af (patch)
tree5b859ebf9309fa8763bc52cca41cb9db52ae832f /protocols/Skype/src/skype_subclassing.h
parentefea4456e19eb42826af55c9ff327c25291cad3c (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@1764 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_subclassing.h')
-rw-r--r--protocols/Skype/src/skype_subclassing.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/protocols/Skype/src/skype_subclassing.h b/protocols/Skype/src/skype_subclassing.h
index 044c825b68..a4ea9a1264 100644
--- a/protocols/Skype/src/skype_subclassing.h
+++ b/protocols/Skype/src/skype_subclassing.h
@@ -8,7 +8,7 @@
class CContact;
struct CSkypeProto;
-typedef void (__cdecl CSkypeProto::* OnContactChangeFunc)(CContact*, int);
+typedef void (CSkypeProto::* OnContactChangeFunc)(CContact* contact, int);
class CContact : public Contact
{
@@ -17,8 +17,14 @@ public:
typedef DRefs<CContact, Contact> Refs;
CContact(unsigned int oid, SERootObject* root);
+
+ void SetOnContactChangeCallback(OnContactChangeFunc callback, CSkypeProto* proto);
private:
+ CSkypeProto* proto;
+
+ OnContactChangeFunc callback;
+
void OnChange(int prop);
};
@@ -47,14 +53,8 @@ public:
void BlockWhileLoggingIn();
void BlockWhileLoggingOut();
-
-
- void SetOnChangeCallback(OnContactChangeFunc callback, CSkypeProto* proto);
-
-private:
- CSkypeProto* proto;
- OnContactChangeFunc callback;
-
+
+private:
void OnChange(int prop);
};