X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fplugin.h;h=38da20867f36d312489ebf86044a83133ce1aad5;hb=c90da6da781932c2d178bfb7e39ec1d5003543b7;hp=8595fbacc2c0159ef46ded7354845fe1f095a68e;hpb=5bf68f762b8fc87cf5583b645b948b4fe55f179f;p=chaz%2Fopenbox diff --git a/openbox/plugin.h b/openbox/plugin.h index 8595fbac..38da2086 100644 --- a/openbox/plugin.h +++ b/openbox/plugin.h @@ -7,7 +7,15 @@ 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, void *data); +/* free memory allocated by plugin_create() */ +void plugin_destroy(char *name, void *object); + #endif