2003-05-24 21:47:06 +00:00
|
|
|
#ifndef __plugins_interface_h
|
|
|
|
#define __plugins_interface_h
|
|
|
|
|
2003-08-12 19:18:21 +00:00
|
|
|
struct _ObParseInst;
|
|
|
|
|
2003-05-24 21:47:06 +00:00
|
|
|
/* plugin_setup_config() */
|
2003-08-12 19:18:21 +00:00
|
|
|
typedef void (*PluginSetupConfig)(struct _ObParseInst *i);
|
2003-05-24 21:47:06 +00:00
|
|
|
|
|
|
|
/* plugin_startup() */
|
|
|
|
typedef void (*PluginStartup)(void);
|
|
|
|
|
|
|
|
/* plugin_shutdown() */
|
|
|
|
typedef void (*PluginShutdown)(void);
|
|
|
|
|
|
|
|
/* plugin_create() - for menu plugins only */
|
|
|
|
typedef void *(*PluginCreate)(/* TODO */);
|
|
|
|
|
|
|
|
/* plugin_destroy() - for menu plugins only */
|
|
|
|
typedef void (*PluginDestroy)(void *);
|
|
|
|
|
|
|
|
#endif
|