From d1e355de2c6aae38cea3cdc0e0b902ea2b194e86 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 24 May 2003 21:47:06 +0000 Subject: this is a big one! im putting stats in here just cuz! 59 files changed, 1691 insertions(+), 607 deletions(-) Adding the beginings of ObConf. Adding a resistance-config plugin for ObConf. Creating an obparser library that obrender can use, the kernel can use, plugins can use, and ObConf and its plugins can use. (its just code for using libXml2) --- plugins/obconf_interface.h | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 plugins/obconf_interface.h (limited to 'plugins/obconf_interface.h') diff --git a/plugins/obconf_interface.h b/plugins/obconf_interface.h new file mode 100644 index 00000000..52b19a8f --- /dev/null +++ b/plugins/obconf_interface.h @@ -0,0 +1,40 @@ +#ifndef __obconf_plugin_interface_h +#define __obconf_plugin_interface_h + +#include "parser/parse.h" + +struct GtkWidget; + +#define OBCONF_INTERFACE_VERSION 1 + +/* plugin_interface_version() */ +typedef int (*PluginInterfaceVersionFunc)(void); + +/* plugin_startup() */ +typedef void (*PluginStartupFunc)(void); + +/* plugin_shutdown() */ +typedef void (*PluginShutdownFunc)(void); + +/* plugin_name() - user friendly name of the plugin */ +typedef char* (*PluginNameFunc)(void); + +/* plugin_plugin_name() - the name of the plugin to load with openbox */ +typedef char* (*PluginPluginNameFunc)(void); + +/* plugin_icon() XXX FIXME */ +typedef void (*PluginIconFunc)(void); + +/* plugin_toplevel_widget() */ +typedef struct _GtkWidget* (*PluginToplevelWidgetFunc)(void); + +/* plugin_edited() */ +typedef gboolean (*PluginEditedFunc)(void); + +/* plugin_load() */ +typedef void (*PluginLoadFunc)(xmlDocPtr doc, xmlNodePtr root); + +/* plugin_save() */ +typedef void (*PluginSaveFunc)(xmlDocPtr doc, xmlNodePtr root); + +#endif -- cgit v1.2.3