diff options
Diffstat (limited to 'api/ec_pluginapi.h')
-rw-r--r-- | api/ec_pluginapi.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/api/ec_pluginapi.h b/api/ec_pluginapi.h index 94f7eaf..7f13634 100644 --- a/api/ec_pluginapi.h +++ b/api/ec_pluginapi.h @@ -19,9 +19,8 @@ #define PLUGINAPI_H_INCLUDED
/* - * this is genereic plugin api header, only baisc c/c++ here - * we need to support also non wxwidgets plugins - */ + * this is genereic plugin api header, only c language here + */ typedef void* (*SERVICE)(void*); @@ -31,6 +30,7 @@ typedef void* (*EVENT_HANDLER)(void*); * CreateServiceFunction should be called with service name like: PluginName/ServiceName * EC/* reserved for core services */ + typedef struct { @@ -38,14 +38,15 @@ typedef struct void* (*CallService)(const char *,void*); bool (*ServiceExists)(const char *); bool (*RegisterEventHandler)(int, EVENT_HANDLER); - void* (*RegisterEventType)(int); + int (*RegisterEventType)(int); } PLUGINLINK; typedef struct { - int size; +// int size; wchar_t *name, *description, *author, *authoremail; unsigned long version; + int pluginid; //will be set by core, neede to call some core services }PLUGININFO;
|