jpeg pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=a4030232427761b1d627b0db2f61859d7a667b57
commit a4030232427761b1d627b0db2f61859d7a667b57 Author: smohanty <[email protected]> Date: Tue Sep 19 15:09:49 2017 +0900 evas/gesture: Added gesture_private header file. --- src/Makefile_Evas.am | 3 ++- src/lib/evas/gesture/efl_gesture_private.h | 43 ++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletion(-) diff --git a/src/Makefile_Evas.am b/src/Makefile_Evas.am index ed7d1ac6c4..e1adbcc807 100644 --- a/src/Makefile_Evas.am +++ b/src/Makefile_Evas.am @@ -162,7 +162,8 @@ lib/evas/canvas/efl_animation_object_scale_private.h \ lib/evas/canvas/efl_animation_object_translate_private.h \ lib/evas/canvas/efl_animation_object_group_private.h \ lib/evas/canvas/efl_animation_object_group_parallel_private.h \ -lib/evas/canvas/efl_animation_object_group_sequential_private.h +lib/evas/canvas/efl_animation_object_group_sequential_private.h \ +lib/evas/gesture/efl_gesture_private.h # Linebreak diff --git a/src/lib/evas/gesture/efl_gesture_private.h b/src/lib/evas/gesture/efl_gesture_private.h new file mode 100644 index 0000000000..4a4468adda --- /dev/null +++ b/src/lib/evas/gesture/efl_gesture_private.h @@ -0,0 +1,43 @@ +#ifndef EFL_GESTURE_PRIVATE_H_ +#define EFL_GESTURE_PRIVATE_H_ + +#include "evas_common_private.h" +#include "evas_private.h" +#define EFL_INTERNAL_UNSTABLE +#include "interfaces/efl_common_internal.h" + +#include <Ecore.h> + +//private gesture classes +#include "efl_gesture_recognizer_tap.eo.h" + +typedef struct _Efl_Gesture_Recognizer_Data Efl_Gesture_Recognizer_Data; +typedef struct _Efl_Gesture_Data Efl_Gesture_Data; +typedef struct _Efl_Gesture_Tap_Data Efl_Gesture_Tap_Data; +typedef struct _Efl_Gesture_Long_Tap_Data Efl_Gesture_Long_Tap_Data; + +struct _Efl_Gesture_Recognizer_Data +{ + Eo *manager; // keeps a reference of the manager +}; + +struct _Efl_Gesture_Data +{ + const Efl_Event_Description *type; + Efl_Gesture_State state; + Eina_Vector2 hotspot; +}; + +struct _Efl_Gesture_Tap_Data +{ + Eina_Vector2 pos; +}; + +struct _Efl_Gesture_Long_Tap_Data +{ + Eina_Vector2 pos; + Ecore_Timer *timeout; + Eina_Bool is_timeout; +}; + +#endif --
