summaryrefslogtreecommitdiff
path: root/Plugins/extraicons/CallbackExtraIcon.h
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/extraicons/CallbackExtraIcon.h')
-rw-r--r--Plugins/extraicons/CallbackExtraIcon.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/Plugins/extraicons/CallbackExtraIcon.h b/Plugins/extraicons/CallbackExtraIcon.h
index 9d5a31c..3db9e15 100644
--- a/Plugins/extraicons/CallbackExtraIcon.h
+++ b/Plugins/extraicons/CallbackExtraIcon.h
@@ -25,8 +25,9 @@
class CallbackExtraIcon : public ExtraIcon
{
public:
- CallbackExtraIcon(const char *name, void(*RebuildIcons)(), void(*ApplyIcon)(HANDLE hContact, int slot),
- const char *description, const char *descIcon);
+ CallbackExtraIcon(const char *name, const char *description, const char *descIcon, int(*RebuildIcons)(
+ WPARAM wParam, LPARAM lParam), int(*ApplyIcon)(WPARAM wParam, LPARAM lParam), int(*OnClick)(WPARAM wParam,
+ LPARAM lParam));
virtual ~CallbackExtraIcon();
virtual int getType() const;
@@ -38,8 +39,8 @@ public:
virtual int setIcon(HANDLE hContact, void *icon);
private:
- void(*RebuildIcons)();
- void(*ApplyIcon)(HANDLE hContact, int slot);
+ int(*RebuildIcons)(WPARAM wParam, LPARAM lParam);
+ int(*ApplyIcon)(WPARAM wParam, LPARAM lParam);
bool needToRebuild;
};