diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-10-03 05:26:48 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-10-03 05:26:48 +0000 |
commit | 9814933f4bc5a7a4320819de54e313d8fc0ceffe (patch) | |
tree | ad1b95ce79312a3e88bc0e5c47d2f11c43f2e58f /meta2/common.cpp | |
parent | 812d72d8d92f24e1989a56d1180d1435ee27b5f6 (diff) |
initial revision of new metacontacts
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@338 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'meta2/common.cpp')
-rw-r--r-- | meta2/common.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
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();
+}
+
|