diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2011-03-16 20:57:59 +0200 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2011-03-16 20:57:59 +0200 |
commit | ee695f119bbc7b3f1557ab01b7953de2ca03e00b (patch) | |
tree | e18dd1fb3f0518bb8714df16e5de0402b3991c18 /api/ec_pluginapi.h | |
parent | 7041ab5d41644bc3310b5c16b9c0aa3818a03d10 (diff) |
modified: api/ec_pluginapi.h
modified: core/commonheaders.h
modified: core/core.project
modified: core/events.cpp
modified: core/events.h
modified: core/main.cpp
Diffstat (limited to 'api/ec_pluginapi.h')
-rw-r--r-- | api/ec_pluginapi.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/api/ec_pluginapi.h b/api/ec_pluginapi.h index 50bb776..94f7eaf 100644 --- a/api/ec_pluginapi.h +++ b/api/ec_pluginapi.h @@ -25,6 +25,7 @@ typedef void* (*SERVICE)(void*); +typedef void* (*EVENT_HANDLER)(void*); /* * CreateServiceFunction should be called with service name like: PluginName/ServiceName @@ -36,8 +37,8 @@ typedef struct void (*CreateServiceFunction)(const char *,SERVICE); void* (*CallService)(const char *,void*); bool (*ServiceExists)(const char *); - bool (*RegisterEventHandler)(void*); - bool (*RegisterEventType)(int); + bool (*RegisterEventHandler)(int, EVENT_HANDLER); + void* (*RegisterEventType)(int); } PLUGINLINK; typedef struct |