From 9814933f4bc5a7a4320819de54e313d8fc0ceffe Mon Sep 17 00:00:00 2001 From: sje Date: Wed, 3 Oct 2007 05:26:48 +0000 Subject: initial revision of new metacontacts git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@338 4f64403b-2f21-0410-a795-97e2b3489a10 --- meta2/core_functions.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 meta2/core_functions.h (limited to 'meta2/core_functions.h') 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 { +public: + SubcontactList &operator[](HANDLE h) { + return Map::operator[](ContactHandle(h)); + } + + const bool exists(HANDLE h) const { + return Map::exists(ContactHandle(h)); + } + + const bool remove(HANDLE h) { + return Map::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 -- cgit v1.2.3