]> icculus.org git repositories - dana/openbox.git/blob - openbox/plugin.h
remove the last of the cool stuff thanks to GTK fuck fuck. no more not focusing windo...
[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 /* call plugin's generic constructor */
19 void *plugin_create(char *name, void *data);
20 /* free memory allocated by plugin_create() */
21 void plugin_destroy(char *name, void *object);
22
23 #endif