openbox/openbox/plugin.h

22 lines
511 B
C
Raw Normal View History

2003-03-18 03:11:55 +00:00
#ifndef __plugin_h
#define __plugin_h
void plugin_startup();
void plugin_shutdown();
void plugin_loadall();
void plugin_startall();
/* default plugin */
2003-03-18 03:11:55 +00:00
gboolean plugin_open(char *name);
/* load a plugin, but don't warn about reopens. for menus */
gboolean plugin_open_reopen(char *name);
2003-03-18 03:11:55 +00:00
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);
2003-03-18 03:11:55 +00:00
#endif