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.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);
};