diff options
Diffstat (limited to 'Plugins/extraicons/ExtraIcon.cpp')
-rw-r--r-- | Plugins/extraicons/ExtraIcon.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Plugins/extraicons/ExtraIcon.cpp b/Plugins/extraicons/ExtraIcon.cpp index 95c0265..d54e1c4 100644 --- a/Plugins/extraicons/ExtraIcon.cpp +++ b/Plugins/extraicons/ExtraIcon.cpp @@ -19,8 +19,9 @@ #include "commons.h"
-ExtraIcon::ExtraIcon(const char *name, const char *description, const char *descIcon) :
- name(name), description(Translate(description)), descIcon(descIcon), slot(-1)
+ExtraIcon::ExtraIcon(const char *name, const char *description, const char *descIcon, int(*OnClick)(WPARAM wParam,
+ LPARAM lParam)) :
+ name(name), description(Translate(description)), descIcon(descIcon), OnClick(OnClick), slot(-1)
{
}
|