]> Dogcows Code - chaz/openbox/blobdiff - openbox/actions.h
make the execute action not segfault when using a prompt (bug #4543)
[chaz/openbox] / openbox / actions.h
index 94fc15cb8941af6eaf505264033236aa1befd6e3..a56ece398e8e7ba5937604975aec3c2397fb4989 100644 (file)
@@ -18,7 +18,7 @@
 
 #include "misc.h"
 #include "frame.h"
-#include "obt/parse.h"
+#include "obt/xml.h"
 
 #include <glib.h>
 #include <X11/Xlib.h>
@@ -35,6 +35,7 @@ typedef void     (*ObActionsDataFreeFunc)(gpointer options);
 typedef gboolean (*ObActionsRunFunc)(ObActionsData *data,
                                      gpointer options);
 typedef gpointer (*ObActionsDataSetupFunc)(xmlNodePtr node);
+typedef void     (*ObActionsShutdownFunc)(void);
 
 /* functions for interactive actions */
 /* return TRUE if the action is going to be interactive, or false to change
@@ -77,6 +78,9 @@ gboolean actions_register(const gchar *name,
                           ObActionsDataFreeFunc free,
                           ObActionsRunFunc run);
 
+gboolean actions_set_shutdown(const gchar *name,
+                              ObActionsShutdownFunc shutdown);
+
 ObActionsAct* actions_parse(xmlNodePtr node);
 ObActionsAct* actions_parse_string(const gchar *name);
 
This page took 0.028517 seconds and 4 git commands to generate.