diff options
Diffstat (limited to 'Plugins/extraicons/ExtraIcon.cpp')
-rw-r--r-- | Plugins/extraicons/ExtraIcon.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Plugins/extraicons/ExtraIcon.cpp b/Plugins/extraicons/ExtraIcon.cpp index d54e1c4..6dd63b8 100644 --- a/Plugins/extraicons/ExtraIcon.cpp +++ b/Plugins/extraicons/ExtraIcon.cpp @@ -75,3 +75,12 @@ void ExtraIcon::applyIcons() hContact = (HANDLE) CallService(MS_DB_CONTACT_FINDNEXT, (WPARAM) hContact, 0);
}
}
+
+void ExtraIcon::onClick(HANDLE hContact)
+{
+ if (OnClick == NULL)
+ return;
+
+ OnClick((WPARAM) hContact, (LPARAM) ConvertToClistSlot(slot));
+}
+
|