summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skypekit/group.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Skype/src/skypekit/group.cpp')
-rw-r--r--protocols/Skype/src/skypekit/group.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/protocols/Skype/src/skypekit/group.cpp b/protocols/Skype/src/skypekit/group.cpp
new file mode 100644
index 0000000000..f547563bcf
--- /dev/null
+++ b/protocols/Skype/src/skypekit/group.cpp
@@ -0,0 +1,19 @@
+#include "group.h"
+
+CContactGroup::CContactGroup(unsigned int oid, SERootObject* root) : ContactGroup(oid, root)
+{
+ this->proto = NULL;
+ this->callback == NULL;
+}
+
+void CContactGroup::SetOnContactListChangedCallback(OnContactListChanged callback, CSkypeProto* proto)
+{
+ this->proto = proto;
+ this->callback = callback;
+}
+
+void CContactGroup::OnChange(const ContactRef &contact)
+{
+ if (this->proto)
+ (proto->*callback)(contact);
+} \ No newline at end of file