#ifndef COMET_ACTION_H #define COMET_ACTION_H #include "event.h" // TODO typedef enum { ACTION_SCRIPT } action_type_t; typedef struct action action_t; typedef struct layout layout_t; struct action { action_type_t type; char *label; }; void action_perform(action_t *action, const layout_t *layout, event_t event); void action_free(action_t *action); #endif