summaryrefslogtreecommitdiff
path: root/stopspam_mod/trunk/eventhooker.h
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2009-09-30 21:35:51 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2009-09-30 21:35:51 +0300
commit4d4bd94c0e34e2eaedc9d12926f14ccde8e0b69c (patch)
tree2d7d1d0d5958ff64e6f563f6336408e5c2ad80ce /stopspam_mod/trunk/eventhooker.h
parentc506453b8518a9bd7622756f24e24323ad97e375 (diff)
variables support for stopspam (ported from stopspam from koshechka)
Diffstat (limited to 'stopspam_mod/trunk/eventhooker.h')
-rw-r--r--stopspam_mod/trunk/eventhooker.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/stopspam_mod/trunk/eventhooker.h b/stopspam_mod/trunk/eventhooker.h
index 2174691..b1ca2ab 100644
--- a/stopspam_mod/trunk/eventhooker.h
+++ b/stopspam_mod/trunk/eventhooker.h
@@ -37,9 +37,9 @@ namespace miranda
{
#define MIRANDA_HOOK_EVENT(NAME, WPARAMNAME, LPARAMNAME) \
- NAME##_Handler(WPARAM,LPARAM);\
+ int NAME##_Handler(WPARAM,LPARAM);\
miranda::EventHooker NAME##_Hooker(NAME, NAME##_Handler);\
- NAME##_Handler(WPARAM WPARAMNAME, LPARAM LPARAMNAME)
+ int NAME##_Handler(WPARAM WPARAMNAME, LPARAM LPARAMNAME)
struct EventHooker
{