From 22ff8c587d815c021cad13f46094a31cc79243cf Mon Sep 17 00:00:00 2001 From: Scott Moynes Date: Thu, 17 Jul 2003 01:40:27 +0000 Subject: Menu parsing updates for plugins. FIFO menus are the only plugin that takes advantage of this. Example: This creates a FIFO ~/.openbox/fifo_menu/fonk to which you can send menus to. The menus sent to it must be like etc... I think. If my memory serves me right. It is all hideous, but I just wanted to experiment and see if it was possible. --- openbox/plugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/plugin.h') diff --git a/openbox/plugin.h b/openbox/plugin.h index 733f564b..38da2086 100644 --- a/openbox/plugin.h +++ b/openbox/plugin.h @@ -14,7 +14,7 @@ gboolean plugin_open_reopen(char *name); void plugin_close(char *name); /* call plugin's generic constructor */ -void *plugin_create(char *name /* TODO */); +void *plugin_create(char *name, void *data); /* free memory allocated by plugin_create() */ void plugin_destroy(char *name, void *object); -- cgit v1.2.3