summaryrefslogtreecommitdiff
path: root/Plugins/extraicons/ExtraIcon.cpp
diff options
context:
space:
mode:
authorpescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7>2009-04-09 01:41:51 +0000
committerpescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7>2009-04-09 01:41:51 +0000
commita72ac14dbb1b8d53328621e5f5362ef61bcb27e6 (patch)
treedabb199c325983afc66fba0a9faaef9532915379 /Plugins/extraicons/ExtraIcon.cpp
parent510d19974eab3364252df3ad1fa6965afe1c74f7 (diff)
extraicons: changed to use callback prototypes with same signature as miranda hooks
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@157 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Plugins/extraicons/ExtraIcon.cpp')
-rw-r--r--Plugins/extraicons/ExtraIcon.cpp5
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)
{
}