summaryrefslogtreecommitdiff
path: root/src/grail-recognizer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/grail-recognizer.h')
-rw-r--r--src/grail-recognizer.h13
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
30int gru_init(struct grail *ge); 30struct 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
39int gru_init(struct grail *ge, const struct touch_dev_caps *caps);
31void gru_recognize(struct grail *ge, const struct touch_frame *frame); 40void gru_recognize(struct grail *ge, const struct touch_frame *frame);
32void gru_destroy(struct grail *ge); 41void gru_destroy(struct grail *ge);
33 42