openbox/openbox/plugin.h
Scott Moynes a8a4a2cca3 Menu uber patch
Since we have no menu parser see menu_startup() to customize
2003-05-09 23:15:28 +00:00

21 lines
510 B
C

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