summaryrefslogtreecommitdiff
path: root/Plugins/extraicons/ExtraIcon.h
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/extraicons/ExtraIcon.h')
-rw-r--r--Plugins/extraicons/ExtraIcon.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Plugins/extraicons/ExtraIcon.h b/Plugins/extraicons/ExtraIcon.h
index 49d157e..86fe1c1 100644
--- a/Plugins/extraicons/ExtraIcon.h
+++ b/Plugins/extraicons/ExtraIcon.h
@@ -25,7 +25,8 @@
class ExtraIcon
{
public:
- ExtraIcon(const char *name, const char *description, const char *descIcon);
+ ExtraIcon(const char *name, const char *description, const char *descIcon, int(*OnClick)(WPARAM wParam,
+ LPARAM lParam));
virtual ~ExtraIcon();
virtual bool needToRebuildIcons() =0;
@@ -49,8 +50,9 @@ protected:
std::string name;
std::string description;
std::string descIcon;
- int slot;
+ int(*OnClick)(WPARAM wParam, LPARAM lParam);
+ int slot;
};
#endif // __EXTRAICON_H__