diff options
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 |