aboutsummaryrefslogtreecommitdiff
path: root/src/action.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/action.h')
-rw-r--r--src/action.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/action.h b/src/action.h
new file mode 100644
index 0000000..1990de6
--- /dev/null
+++ b/src/action.h
@@ -0,0 +1,25 @@
+#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