summaryrefslogtreecommitdiff
path: root/meta2/common.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'meta2/common.cpp')
-rw-r--r--meta2/common.cpp11
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();
+}
+