From a72ac14dbb1b8d53328621e5f5362ef61bcb27e6 Mon Sep 17 00:00:00 2001 From: pescuma Date: Thu, 9 Apr 2009 01:41:51 +0000 Subject: 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 --- Plugins/extraicons/ExtraIcon.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Plugins/extraicons/ExtraIcon.cpp') 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) { } -- cgit v1.2.3