diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2012-10-02 17:48:44 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2012-10-02 17:48:44 +0000 |
commit | a5ea1613d623ad8d7027ddd402632a842ba5f0af (patch) | |
tree | 5b859ebf9309fa8763bc52cca41cb9db52ae832f /protocols/Skype/src/skype_subclassing.cpp | |
parent | efea4456e19eb42826af55c9ff327c25291cad3c (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.cpp | 22 |
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 |