blob: 1990de69a59f5c3a96e58c14df58b5bc6e0209db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
|