summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skypekit/group.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Skype/src/skypekit/group.h')
-rw-r--r--protocols/Skype/src/skypekit/group.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/protocols/Skype/src/skypekit/group.h b/protocols/Skype/src/skypekit/group.h
new file mode 100644
index 0000000000..ff395594a5
--- /dev/null
+++ b/protocols/Skype/src/skypekit/group.h
@@ -0,0 +1,22 @@
+#pragma once
+
+#include "common.h"
+#include "contact.h"
+
+class CContactGroup : public ContactGroup
+{
+public:
+ typedef void (CSkypeProto::* OnContactListChanged)(CContact::Ref contact);
+
+ typedef DRef<CContactGroup, ContactGroup> Ref;
+ typedef DRefs<CContactGroup, ContactGroup> Refs;
+ CContactGroup(unsigned int oid, SERootObject* root);
+
+ void SetOnContactListChangedCallback(OnContactListChanged callback, CSkypeProto* proto);
+
+private:
+ CSkypeProto* proto;
+ OnContactListChanged callback;
+
+ void OnChange(const ContactRef &contact);
+}; \ No newline at end of file