openbox/plugins/interface.h

22 lines
479 B
C
Raw Normal View History

#ifndef __plugins_interface_h
#define __plugins_interface_h
struct _ObParseInst;
/* plugin_setup_config() */
typedef void (*PluginSetupConfig)(struct _ObParseInst *i);
/* plugin_startup() */
typedef void (*PluginStartup)(void);
/* plugin_shutdown() */
typedef void (*PluginShutdown)(void);
/* plugin_create() - for menu plugins only */
typedef void *(*PluginCreate)(/* TODO */);
/* plugin_destroy() - for menu plugins only */
typedef void (*PluginDestroy)(void *);
#endif