diff options
Diffstat (limited to 'src/grail-recognizer.h')
| -rw-r--r-- | src/grail-recognizer.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/grail-recognizer.h b/src/grail-recognizer.h index 8c47162..247687d 100644 --- a/src/grail-recognizer.h +++ b/src/grail-recognizer.h | |||
| @@ -25,9 +25,18 @@ | |||
| 25 | #ifndef _GRAIL_RECOGNIZER_H | 25 | #ifndef _GRAIL_RECOGNIZER_H |
| 26 | #define _GRAIL_RECOGNIZER_H | 26 | #define _GRAIL_RECOGNIZER_H |
| 27 | 27 | ||
| 28 | #include "grail-inserter.h" | 28 | #include "grail-gestures.h" |
| 29 | 29 | ||
| 30 | int gru_init(struct grail *ge); | 30 | struct gesture_recognizer { |
| 31 | struct touch_frame frame; | ||
| 32 | struct move_model move; | ||
| 33 | struct scroll_model scroll; | ||
| 34 | struct zoom_model zoom; | ||
| 35 | struct rotate_model rotate; | ||
| 36 | struct combo_model combo; | ||
| 37 | }; | ||
| 38 | |||
| 39 | int gru_init(struct grail *ge, const struct touch_dev_caps *caps); | ||
| 31 | void gru_recognize(struct grail *ge, const struct touch_frame *frame); | 40 | void gru_recognize(struct grail *ge, const struct touch_frame *frame); |
| 32 | void gru_destroy(struct grail *ge); | 41 | void gru_destroy(struct grail *ge); |
| 33 | 42 | ||
