summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_subclassing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Skype/src/skype_subclassing.cpp')
-rw-r--r--protocols/Skype/src/skype_subclassing.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/protocols/Skype/src/skype_subclassing.cpp b/protocols/Skype/src/skype_subclassing.cpp
index ed81021bd9..0a0ebd5a0f 100644
--- a/protocols/Skype/src/skype_subclassing.cpp
+++ b/protocols/Skype/src/skype_subclassing.cpp
@@ -40,6 +40,7 @@ void CAccount::OnChange(int prop)
}
}
}
+ //(proto->*callback)(this, prop);
}
void CAccount::BlockWhileLoggingIn()
@@ -67,6 +68,13 @@ CContact::CContact(unsigned int oid, SERootObject* root) : Contact(oid, root)
{
}
+void CAccount::SetOnChangeCallback(OnContactChangeFunc callback, CSkypeProto* proto)
+{
+ this->proto = proto;
+ this->callback = callback;
+}
+
void CContact::OnChange(int prop)
{
+ //(proto->*callback)(this, prop);
} \ No newline at end of file