]> icculus.org git repositories - dana/openbox.git/blob - openbox/plugin.h
change the menu plugin interface, no need for the create/destroy functions any more.
[dana/openbox.git] / openbox / plugin.h
1 #ifndef __plugin_h
2 #define __plugin_h
3
4 struct _ObParseInst;
5
6 void plugin_startup();
7 void plugin_shutdown();
8
9 void plugin_loadall(struct _ObParseInst *i);
10 void plugin_startall();
11
12 /* default plugin */
13 gboolean plugin_open(char *name, struct _ObParseInst *i);
14 /* load a plugin, but don't warn about reopens. for menus */
15 gboolean plugin_open_reopen(char *name, struct _ObParseInst *i);
16 void plugin_close(char *name);
17
18 #endif