1 #if !defined(HIKARI_ACTION_H)
2 #define HIKARI_ACTION_H
3 
4 #include <stdbool.h>
5 #include <ucl.h>
6 #include <wayland-util.h>
7 
8 struct hikari_event_action {
9   void (*action)(void *);
10   void *arg;
11 };
12 
13 struct hikari_action {
14   struct hikari_event_action begin;
15   struct hikari_event_action end;
16 };
17 
18 void
19 hikari_action_init(struct hikari_action *action);
20 
21 bool
22 hikari_action_parse(struct hikari_action *action,
23     struct wl_list *action_configs,
24     const ucl_object_t *action_obj);
25 
26 #endif
27