summaryrefslogtreecommitdiff
path: root/openbox/plugin.h
diff options
context:
space:
mode:
authorScott Moynes <smoynes@nexus.carleton.ca>2003-07-17 01:40:27 +0000
committerScott Moynes <smoynes@nexus.carleton.ca>2003-07-17 01:40:27 +0000
commit22ff8c587d815c021cad13f46094a31cc79243cf (patch)
tree619056a5881cd5836ca0c47ae673fced623c5745 /openbox/plugin.h
parent5fce782499aa821c3a25bfdbf475066c2c21a7ed (diff)
Menu parsing updates for plugins.
FIFO menus are the only plugin that takes advantage of this. Example: <menu id="root" label="Openbox 3"> <menu id="fonk" label="fonk" plugin="fifo_menu"> </menu> </menu> This creates a FIFO ~/.openbox/fifo_menu/fonk to which you can send menus to. The menus sent to it must be like <fifo> <item> etc... </fifo> I think. If my memory serves me right. It is all hideous, but I just wanted to experiment and see if it was possible.
Diffstat (limited to 'openbox/plugin.h')
-rw-r--r--openbox/plugin.h2
1 files changed, 1 insertions, 1 deletions
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);