summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_subclassing.cpp
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.cpp
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.cpp')
-rw-r--r--protocols/Skype/src/skype_subclassing.cpp22
1 files changed, 15 insertions, 7 deletions
diff --git a/protocols/Skype/src/skype_subclassing.cpp b/protocols/Skype/src/skype_subclassing.cpp
index 0a0ebd5a0f..c206f65ef5 100644
--- a/protocols/Skype/src/skype_subclassing.cpp
+++ b/protocols/Skype/src/skype_subclassing.cpp
@@ -40,7 +40,13 @@ void CAccount::OnChange(int prop)
}
}
}
- //(proto->*callback)(this, prop);
+
+}
+
+void CContact::SetOnContactChangeCallback(OnContactChangeFunc callback, CSkypeProto* proto)
+{
+ this->proto = proto;
+ this->callback = callback;
}
void CAccount::BlockWhileLoggingIn()
@@ -68,13 +74,15 @@ CContact::CContact(unsigned int oid, SERootObject* root) : Contact(oid, root)
{
}
-void CAccount::SetOnChangeCallback(OnContactChangeFunc callback, CSkypeProto* proto)
-{
- this->proto = proto;
- this->callback = callback;
-}
+//void CAccount::SetOnChangeCallback(OnContactChangeFunc callback, CSkypeProto* proto)
+//{
+// this->proto = proto;
+// this->callback = callback;
+//}
void CContact::OnChange(int prop)
{
- //(proto->*callback)(this, prop);
+ //SEString identity;
+ //this->GetIdentity(identity);
+ (proto->*callback)(this, prop);
} \ No newline at end of file