summaryrefslogtreecommitdiff
path: root/api/ec_pluginapi.h
blob: 0387a16ccf8205e17d80c63b9571f80a1ab8c38d (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
#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