openbox/openbox/plugin.h
Dana Jansens 1045079482 adjust for changes to the parsing api.
split the menu into its own file.
2003-08-12 19:18:21 +00:00

23 lines
603 B
C

#ifndef __plugin_h
#define __plugin_h
struct _ObParseInst;
void plugin_startup();
void plugin_shutdown();
void plugin_loadall(struct _ObParseInst *i);
void plugin_startall();
/* default plugin */
gboolean plugin_open(char *name, struct _ObParseInst *i);
/* load a plugin, but don't warn about reopens. for menus */
gboolean plugin_open_reopen(char *name, struct _ObParseInst *i);
void plugin_close(char *name);
/* call plugin's generic constructor */
void *plugin_create(char *name, void *data);
/* free memory allocated by plugin_create() */
void plugin_destroy(char *name, void *object);
#endif