blob: 3e9649ba4116291378ff69ac3401fb16ada54f1f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef PLUGINAPI_H_INCLUDED
#define PLUGINAPI_H_INCLUDED
/*
this is genereic plugin api header, only baisc c/c++ here
we need to support also non wxwidgets plugins
*/
typedef void* (*SERVICE)(void*);
typedef struct
{
void (*CreateServiceFunction)(const char *,SERVICE);
void* (*CallService)(const char *,void*);
int (*ServiceExists)(const char *);
} PLUGINLINK;
typedef struct
{
int size;
wchar_t *name, *description, *author, *authoremail;
unsigned long version;
}PLUGININFO;
#endif // PLUGINAPI_H_INCLUDED
|