openbox/plugins/obconf_interface.h
Dana Jansens d1e355de2c 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)
2003-05-24 21:47:06 +00:00

40 lines
991 B
C

#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