diff options
Diffstat (limited to 'meta2/core_functions.h')
-rw-r--r-- | meta2/core_functions.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta2/core_functions.h b/meta2/core_functions.h new file mode 100644 index 0000000..8f6a6ee --- /dev/null +++ b/meta2/core_functions.h @@ -0,0 +1,25 @@ +class MetaMap: public Map<ContactHandle, SubcontactList> {
+public:
+ SubcontactList &operator[](HANDLE h) {
+ return Map<ContactHandle, SubcontactList>::operator[](ContactHandle(h));
+ }
+
+ const bool exists(HANDLE h) const {
+ return Map<ContactHandle, SubcontactList>::exists(ContactHandle(h));
+ }
+
+ const bool remove(HANDLE h) {
+ return Map<ContactHandle, SubcontactList>::remove(ContactHandle(h));
+ }
+};
+
+extern MetaMap metaMap;
+
+HANDLE GetMetaHandle(DWORD id);
+void Meta_Hide(bool hide);
+HANDLE Meta_GetMostOnline(HANDLE hMeta);
+HANDLE Meta_GetMostOnlineSupporting(HANDLE hMeta, int flag, int cap);
+HANDLE Meta_Convert(HANDLE hSub);
+void Meta_CalcStatus(HANDLE hMeta);
+void Meta_Assign(HANDLE hSub, HANDLE hMeta);
+void Meta_Remove(HANDLE hSub);
\ No newline at end of file |