]> Dogcows Code - chaz/openbox/blob - plugins/obconf_interface.h
move the gettext header out to the root source dir
[chaz/openbox] / plugins / obconf_interface.h
1 #ifndef __obconf_plugin_interface_h
2 #define __obconf_plugin_interface_h
3
4 #include "parser/parse.h"
5
6 struct GtkWidget;
7
8 #define OBCONF_INTERFACE_VERSION 1
9
10 /* plugin_interface_version() */
11 typedef int (*PluginInterfaceVersionFunc)(void);
12
13 /* plugin_startup() */
14 typedef void (*PluginStartupFunc)(void);
15
16 /* plugin_shutdown() */
17 typedef void (*PluginShutdownFunc)(void);
18
19 /* plugin_name() - user friendly name of the plugin */
20 typedef char* (*PluginNameFunc)(void);
21
22 /* plugin_plugin_name() - the name of the plugin to load with openbox */
23 typedef char* (*PluginPluginNameFunc)(void);
24
25 /* plugin_icon() XXX FIXME */
26 typedef void (*PluginIconFunc)(void);
27
28 /* plugin_toplevel_widget() */
29 typedef struct _GtkWidget* (*PluginToplevelWidgetFunc)(void);
30
31 /* plugin_edited() */
32 typedef gboolean (*PluginEditedFunc)(void);
33
34 /* plugin_load() */
35 typedef void (*PluginLoadFunc)(xmlDocPtr doc, xmlNodePtr root);
36
37 /* plugin_save() */
38 typedef void (*PluginSaveFunc)(xmlDocPtr doc, xmlNodePtr root);
39
40 #endif
This page took 0.033646 seconds and 4 git commands to generate.