]> icculus.org git repositories - mikachu/openbox.git/blob - openbox/plugin.h
replace the focus_backup with the screen_support_win, we dont need 2 offscreen windows.
[mikachu/openbox.git] / openbox / plugin.h
1 #ifndef __plugin_h
2 #define __plugin_h
3
4 void plugin_startup();
5 void plugin_shutdown();
6
7 void plugin_loadall();
8 void plugin_startall();
9
10 /* default plugin */
11 gboolean plugin_open(char *name);
12 /* load a plugin, but don't warn about reopens. for menus */
13 gboolean plugin_open_reopen(char *name);
14 void plugin_close(char *name);
15
16 /* call plugin's generic constructor */
17 void *plugin_create(char *name /* TODO */);
18 /* free memory allocated by plugin_create() */
19 void plugin_destroy(char *name, void *object);
20
21 #endif