summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_subclassing.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2012-10-01 19:25:45 +0000
committerAlexander Lantsev <aunsane@gmail.com>2012-10-01 19:25:45 +0000
commit4deaf28bfaf2a71686e0ef2e3b494ab5b807311b (patch)
tree38301157c3da008899a9f814b9e5c8a3949ceb88 /protocols/Skype/src/skype_subclassing.cpp
parente8d6a2e3098bf4ee06b2bcb143dda488994e4e4d (diff)
- netlib funcs moved to skype_netlib.cpp
- some minor changes git-svn-id: http://svn.miranda-ng.org/main/trunk@1753 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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