1 #ifndef __obconf_plugin_interface_h
2 #define __obconf_plugin_interface_h
4 #include "parser/parse.h"
8 #define OBCONF_INTERFACE_VERSION 1
10 /* plugin_interface_version() */
11 typedef int (*PluginInterfaceVersionFunc
)(void);
13 /* plugin_startup() */
14 typedef void (*PluginStartupFunc
)(void);
16 /* plugin_shutdown() */
17 typedef void (*PluginShutdownFunc
)(void);
19 /* plugin_name() - user friendly name of the plugin */
20 typedef char* (*PluginNameFunc
)(void);
22 /* plugin_plugin_name() - the name of the plugin to load with openbox */
23 typedef char* (*PluginPluginNameFunc
)(void);
25 /* plugin_icon() XXX FIXME */
26 typedef void (*PluginIconFunc
)(void);
28 /* plugin_toplevel_widget() */
29 typedef struct _GtkWidget
* (*PluginToplevelWidgetFunc
)(void);
32 typedef gboolean (*PluginEditedFunc
)(void);
35 typedef void (*PluginLoadFunc
)(xmlDocPtr doc
, xmlNodePtr root
);
38 typedef void (*PluginSaveFunc
)(xmlDocPtr doc
, xmlNodePtr root
);