diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2008-11-07 00:57:33 +0100 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2008-11-07 00:57:33 +0100 |
| commit | 8331c4858987bce53afac9c06ab45808fd751dbd (patch) | |
| tree | d7ae3bb72ebfb4dd1f16eb29fd66f201b41dd84b /src/state.h | |
| parent | d44b4794c679141a08fd802475bb542ecf5b7c51 (diff) | |
Works nicely - state output seems reasonable
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
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); |
