diff options
Diffstat (limited to 'Plugins/extraicons/ExtraIcon.h')
-rw-r--r-- | Plugins/extraicons/ExtraIcon.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Plugins/extraicons/ExtraIcon.h b/Plugins/extraicons/ExtraIcon.h index 1c639f0..b1ada82 100644 --- a/Plugins/extraicons/ExtraIcon.h +++ b/Plugins/extraicons/ExtraIcon.h @@ -25,8 +25,7 @@ class ExtraIcon
{
public:
- ExtraIcon(const char *name, const char *description, const char *descIcon, int(*OnClick)(WPARAM wParam,
- LPARAM lParam));
+ ExtraIcon(const char *name, const char *description, const char *descIcon, MIRANDAHOOKPARAM OnClick, LPARAM param);
virtual ~ExtraIcon();
virtual bool needToRebuildIcons() =0;
@@ -53,7 +52,8 @@ protected: std::string name;
std::string description;
std::string descIcon;
- int(*OnClick)(WPARAM wParam, LPARAM lParam);
+ MIRANDAHOOKPARAM OnClick;
+ LPARAM onClickParam;
int slot;
};
|