#include "misc.h"
#include "frame.h"
-#include "obt/parse.h"
+#include "obt/xml.h"
#include <glib.h>
#include <X11/Xlib.h>
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
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);