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/common.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 meta2/common.cpp (limited to 'meta2/common.cpp') diff --git a/meta2/common.cpp b/meta2/common.cpp new file mode 100644 index 0000000..fe22092 --- /dev/null +++ b/meta2/common.cpp @@ -0,0 +1,11 @@ +#include "common.h" + +bool ContactHandle::operator==(const ContactHandle &other) const { + return hContact == other.handle(); +} + +bool ContactHandle::operator<(const ContactHandle &other) const { + //return CallService(MS_CLIST_CONTACTSCOMPARE, (WPARAM)hContact, (LPARAM)other.handle()) < 0; + return hContact < other.handle(); +} + -- cgit v1.2.3