diff options
Diffstat (limited to 'src/state.h')
| -rw-r--r-- | src/state.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/state.h b/src/state.h index 8b41920..7bf4438 100644 --- a/src/state.h +++ b/src/state.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | #ifndef MTEVENT_H | 1 | #ifndef MTEVENT_H |
| 2 | #define MTEVENT_H | 2 | #define MTEVENT_H |
| 3 | 3 | ||
| 4 | #include "capabilities.h" | ||
| 4 | #include "hwdata.h" | 5 | #include "hwdata.h" |
| 5 | 6 | ||
| 6 | //////////////////////////////////////////////////////// | 7 | //////////////////////////////////////////////////////// |
| @@ -21,7 +22,9 @@ struct State { | |||
| 21 | //////////////////////////////////////////////////////// | 22 | //////////////////////////////////////////////////////// |
| 22 | 23 | ||
| 23 | void init_state(struct State *s); | 24 | void init_state(struct State *s); |
| 24 | void modify_state(struct State *s, const struct HWData* hw); | 25 | void modify_state(struct State *s, |
| 26 | const struct HWData* hw, | ||
| 27 | const struct Capabilities* caps); | ||
| 25 | void output_state(const struct State *s); | 28 | void output_state(const struct State *s); |
| 26 | 29 | ||
| 27 | const struct FingerState *find_finger(const struct State *s, int id); | 30 | const struct FingerState *find_finger(const struct State *s, int id); |
