diff options
Diffstat (limited to 'api/pluginapi.h')
-rw-r--r-- | api/pluginapi.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/api/pluginapi.h b/api/pluginapi.h deleted file mode 100644 index 2bcc480..0000000 --- a/api/pluginapi.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef PLUGINAPI_H -#define PLUGINAPI_H - -#define PLUGIN_MAKE_VERSION(a,b,c,d) (((((DWORD)(a))&0xFF)<<24)|((((DWORD)(b))&0xFF)<<16)|((((DWORD)(c))&0xFF)<<8)|(((DWORD)(d))&0xFF)) - -#define F_GLOBAL_ACCESS 0x0010 -#define F_DB_PLUGIN 0x0001 //database plugin, can be only one at one time - -typedef INT_PTR (*SERVICE)(WPARAM,LPARAM); - -typedef struct tagPLUGINLINK -{ -//core api - HANDLE (*CreateServiceFunction)(const char *,SERVICE); - INT_PTR (*CallService)(const char *,WPARAM,LPARAM); - int (*ServiceExists)(const char *); -} PLUGINLINK; - - -typedef struct -{ //plugin description - int cbSize; - char *shortName, *description, *author, *authorEmail; - DWORD version; - WORD flags; -} PLUGININFO; -#endif |