Remove warnings, when used legacy gesture enum 64/203764/3
authorRadoslaw Cybulski <r.cybulski@partner.samsung.com>
Wed, 17 Apr 2019 12:20:14 +0000 (14:20 +0200)
committerLukasz Oleksak <l.oleksak@samsung.com>
Wed, 17 Apr 2019 14:14:30 +0000 (14:14 +0000)
Change-Id: I22f4f3c48806473c1f7f4170d84bea805d82194d

src/lib/elementary/efl_access_legacy.h

index 6b04ca9..a29cb23 100644 (file)
@@ -222,45 +222,43 @@ typedef enum
                                                            * read. */
 } Elm_Accessible_Reading_Info_Type;
 
-enum _Elm_Atspi_Gesture_Type
-{
-   ELM_ATSPI_GESTURE_ONE_FINGER_HOVER,
-   ELM_ATSPI_GESTURE_TWO_FINGERS_HOVER,
-   ELM_ATSPI_GESTURE_THREE_FINGERS_HOVER,
-   ELM_ATSPI_GESTURE_ONE_FINGER_FLICK_LEFT,
-   ELM_ATSPI_GESTURE_ONE_FINGER_FLICK_RIGHT,
-   ELM_ATSPI_GESTURE_ONE_FINGER_FLICK_UP,
-   ELM_ATSPI_GESTURE_ONE_FINGER_FLICK_DOWN,
-   ELM_ATSPI_GESTURE_TWO_FINGERS_FLICK_LEFT,
-   ELM_ATSPI_GESTURE_TWO_FINGERS_FLICK_RIGHT,
-   ELM_ATSPI_GESTURE_TWO_FINGERS_FLICK_UP,
-   ELM_ATSPI_GESTURE_TWO_FINGERS_FLICK_DOWN,
-   ELM_ATSPI_GESTURE_THREE_FINGERS_FLICK_LEFT,
-   ELM_ATSPI_GESTURE_THREE_FINGERS_FLICK_RIGHT,
-   ELM_ATSPI_GESTURE_THREE_FINGERS_FLICK_UP,
-   ELM_ATSPI_GESTURE_THREE_FINGERS_FLICK_DOWN,
-   ELM_ATSPI_GESTURE_ONE_FINGER_SINGLE_TAP,
-   ELM_ATSPI_GESTURE_ONE_FINGER_DOUBLE_TAP,
-   ELM_ATSPI_GESTURE_ONE_FINGER_TRIPLE_TAP,
-   ELM_ATSPI_GESTURE_TWO_FINGERS_SINGLE_TAP,
-   ELM_ATSPI_GESTURE_TWO_FINGERS_DOUBLE_TAP,
-   ELM_ATSPI_GESTURE_TWO_FINGERS_TRIPLE_TAP,
-   ELM_ATSPI_GESTURE_THREE_FINGERS_SINGLE_TAP,
-   ELM_ATSPI_GESTURE_THREE_FINGERS_DOUBLE_TAP,
-   ELM_ATSPI_GESTURE_THREE_FINGERS_TRIPLE_TAP,
-   ELM_ATSPI_GESTURE_ONE_FINGER_FLICK_LEFT_RETURN,
-   ELM_ATSPI_GESTURE_ONE_FINGER_FLICK_RIGHT_RETURN,
-   ELM_ATSPI_GESTURE_ONE_FINGER_FLICK_UP_RETURN,
-   ELM_ATSPI_GESTURE_ONE_FINGER_FLICK_DOWN_RETURN,
-   ELM_ATSPI_GESTURE_TWO_FINGERS_FLICK_LEFT_RETURN,
-   ELM_ATSPI_GESTURE_TWO_FINGERS_FLICK_RIGHT_RETURN,
-   ELM_ATSPI_GESTURE_TWO_FINGERS_FLICK_UP_RETURN,
-   ELM_ATSPI_GESTURE_TWO_FINGERS_FLICK_DOWN_RETURN,
-   ELM_ATSPI_GESTURE_THREE_FINGERS_FLICK_LEFT_RETURN,
-   ELM_ATSPI_GESTURE_THREE_FINGERS_FLICK_RIGHT_RETURN,
-   ELM_ATSPI_GESTURE_THREE_FINGERS_FLICK_UP_RETURN,
-   ELM_ATSPI_GESTURE_THREE_FINGERS_FLICK_DOWN_RETURN,
-};
+#define ELM_ATSPI_GESTURE_ONE_FINGER_HOVER EFL_ACCESS_GESTURE_ONE_FINGER_HOVER
+#define ELM_ATSPI_GESTURE_TWO_FINGERS_HOVER EFL_ACCESS_GESTURE_TWO_FINGERS_HOVER
+#define ELM_ATSPI_GESTURE_THREE_FINGERS_HOVER EFL_ACCESS_GESTURE_THREE_FINGERS_HOVER
+#define ELM_ATSPI_GESTURE_ONE_FINGER_FLICK_LEFT EFL_ACCESS_GESTURE_ONE_FINGER_FLICK_LEFT
+#define ELM_ATSPI_GESTURE_ONE_FINGER_FLICK_RIGHT EFL_ACCESS_GESTURE_ONE_FINGER_FLICK_RIGHT
+#define ELM_ATSPI_GESTURE_ONE_FINGER_FLICK_UP EFL_ACCESS_GESTURE_ONE_FINGER_FLICK_UP
+#define ELM_ATSPI_GESTURE_ONE_FINGER_FLICK_DOWN EFL_ACCESS_GESTURE_ONE_FINGER_FLICK_DOWN
+#define ELM_ATSPI_GESTURE_TWO_FINGERS_FLICK_LEFT EFL_ACCESS_GESTURE_TWO_FINGERS_FLICK_LEFT
+#define ELM_ATSPI_GESTURE_TWO_FINGERS_FLICK_RIGHT EFL_ACCESS_GESTURE_TWO_FINGERS_FLICK_RIGHT
+#define ELM_ATSPI_GESTURE_TWO_FINGERS_FLICK_UP EFL_ACCESS_GESTURE_TWO_FINGERS_FLICK_UP
+#define ELM_ATSPI_GESTURE_TWO_FINGERS_FLICK_DOWN EFL_ACCESS_GESTURE_TWO_FINGERS_FLICK_DOWN
+#define ELM_ATSPI_GESTURE_THREE_FINGERS_FLICK_LEFT EFL_ACCESS_GESTURE_THREE_FINGERS_FLICK_LEFT
+#define ELM_ATSPI_GESTURE_THREE_FINGERS_FLICK_RIGHT EFL_ACCESS_GESTURE_THREE_FINGERS_FLICK_RIGHT
+#define ELM_ATSPI_GESTURE_THREE_FINGERS_FLICK_UP EFL_ACCESS_GESTURE_THREE_FINGERS_FLICK_UP
+#define ELM_ATSPI_GESTURE_THREE_FINGERS_FLICK_DOWN EFL_ACCESS_GESTURE_THREE_FINGERS_FLICK_DOWN
+#define ELM_ATSPI_GESTURE_ONE_FINGER_SINGLE_TAP EFL_ACCESS_GESTURE_ONE_FINGER_SINGLE_TAP
+#define ELM_ATSPI_GESTURE_ONE_FINGER_DOUBLE_TAP EFL_ACCESS_GESTURE_ONE_FINGER_DOUBLE_TAP
+#define ELM_ATSPI_GESTURE_ONE_FINGER_TRIPLE_TAP EFL_ACCESS_GESTURE_ONE_FINGER_TRIPLE_TAP
+#define ELM_ATSPI_GESTURE_TWO_FINGERS_SINGLE_TAP EFL_ACCESS_GESTURE_TWO_FINGERS_SINGLE_TAP
+#define ELM_ATSPI_GESTURE_TWO_FINGERS_DOUBLE_TAP EFL_ACCESS_GESTURE_TWO_FINGERS_DOUBLE_TAP
+#define ELM_ATSPI_GESTURE_TWO_FINGERS_TRIPLE_TAP EFL_ACCESS_GESTURE_TWO_FINGERS_TRIPLE_TAP
+#define ELM_ATSPI_GESTURE_THREE_FINGERS_SINGLE_TAP EFL_ACCESS_GESTURE_THREE_FINGERS_SINGLE_TAP
+#define ELM_ATSPI_GESTURE_THREE_FINGERS_DOUBLE_TAP EFL_ACCESS_GESTURE_THREE_FINGERS_DOUBLE_TAP
+#define ELM_ATSPI_GESTURE_THREE_FINGERS_TRIPLE_TAP EFL_ACCESS_GESTURE_THREE_FINGERS_TRIPLE_TAP
+#define ELM_ATSPI_GESTURE_ONE_FINGER_FLICK_LEFT_RETURN EFL_ACCESS_GESTURE_ONE_FINGER_FLICK_LEFT_RETURN
+#define ELM_ATSPI_GESTURE_ONE_FINGER_FLICK_RIGHT_RETURN EFL_ACCESS_GESTURE_ONE_FINGER_FLICK_RIGHT_RETURN
+#define ELM_ATSPI_GESTURE_ONE_FINGER_FLICK_UP_RETURN EFL_ACCESS_GESTURE_ONE_FINGER_FLICK_UP_RETURN
+#define ELM_ATSPI_GESTURE_ONE_FINGER_FLICK_DOWN_RETURN EFL_ACCESS_GESTURE_ONE_FINGER_FLICK_DOWN_RETURN
+#define ELM_ATSPI_GESTURE_TWO_FINGERS_FLICK_LEFT_RETURN EFL_ACCESS_GESTURE_TWO_FINGERS_FLICK_LEFT_RETURN
+#define ELM_ATSPI_GESTURE_TWO_FINGERS_FLICK_RIGHT_RETURN EFL_ACCESS_GESTURE_TWO_FINGERS_FLICK_RIGHT_RETURN
+#define ELM_ATSPI_GESTURE_TWO_FINGERS_FLICK_UP_RETURN EFL_ACCESS_GESTURE_TWO_FINGERS_FLICK_UP_RETURN
+#define ELM_ATSPI_GESTURE_TWO_FINGERS_FLICK_DOWN_RETURN EFL_ACCESS_GESTURE_TWO_FINGERS_FLICK_DOWN_RETURN
+#define ELM_ATSPI_GESTURE_THREE_FINGERS_FLICK_LEFT_RETURN EFL_ACCESS_GESTURE_THREE_FINGERS_FLICK_LEFT_RETURN
+#define ELM_ATSPI_GESTURE_THREE_FINGERS_FLICK_RIGHT_RETURN EFL_ACCESS_GESTURE_THREE_FINGERS_FLICK_RIGHT_RETURN
+#define ELM_ATSPI_GESTURE_THREE_FINGERS_FLICK_UP_RETURN EFL_ACCESS_GESTURE_THREE_FINGERS_FLICK_UP_RETURN
+#define ELM_ATSPI_GESTURE_THREE_FINGERS_FLICK_DOWN_RETURN EFL_ACCESS_GESTURE_THREE_FINGERS_FLICK_DOWN_RETURN
+
 /**
  * Type of gesture that is emitted on assistive technology client side.
  *
@@ -275,7 +273,7 @@ enum _Elm_Atspi_Gesture_Type
  *
  * @if MOBILE @since_tizen 4.0 @elseif WEARABLE @since_tizen 3.0 @endif
  */
-typedef enum _Elm_Atspi_Gesture_Type Elm_Atspi_Gesture_Type;
+typedef Efl_Access_Gesture Elm_Atspi_Gesture_Type;
 
 enum _Elm_Atspi_Gesture_State
 {