#ifndef _ELM_GESTURE_LAYER_EO_LEGACY_H_
#define _ELM_GESTURE_LAYER_EO_LEGACY_H_

#ifndef _ELM_GESTURE_LAYER_EO_CLASS_TYPE
#define _ELM_GESTURE_LAYER_EO_CLASS_TYPE

typedef Eo Elm_Gesture_Layer;

#endif

#ifndef _ELM_GESTURE_LAYER_EO_TYPES
#define _ELM_GESTURE_LAYER_EO_TYPES


#endif

/**
 *
 * @brief This function sets step-value for zoom action.
 *
 * @if MOBILE @since_tizen 2.3
 * @elseif WEARABLE @since_tizen 2.3.1
 * @endif
 *
 * @remark Set step to any positive value.
 * Cancel step setting by setting to 0
 *
 * @see elm_gesture_layer_zoom_step_get()
 * @ingroup Elm_Gesture_Layer
 *
 * @param[in] obj The elm gesture layer object
 * @param[in] step new zoom step value.
 */
EAPI void elm_gesture_layer_zoom_step_set(Elm_Gesture_Layer *obj, double step);

/**
 *
 * @brief This function returns step-value for zoom action.
 *
 * @if MOBILE @since_tizen 2.3
 * @elseif WEARABLE @since_tizen 2.3.1
 * @endif
 *
 * @return zoom step value.
 *
 * @see elm_gesture_layer_zoom_step_set()
 * @ingroup Elm_Gesture_Layer
 *
 * @param[in] obj The elm gesture layer object
 */
EAPI double elm_gesture_layer_zoom_step_get(const Elm_Gesture_Layer *obj);

/**
 *
 * @brief This function sets the gesture layer finger-size for taps
 * If not set, this size taken from elm_config.
 *
 * @if MOBILE @since_tizen 2.3
 * @elseif WEARABLE @since_tizen 2.3.1
 * @endif
 *
 * @remark Set to ZERO if you want GLayer to use system finger size value (default)
 *
 * @since 1.8
 * @ingroup Elm_Gesture_Layer
 *
 * @param[in] obj The elm gesture layer object
 * @param[in] sz Finger size
 */
EAPI void elm_gesture_layer_tap_finger_size_set(Elm_Gesture_Layer *obj, Evas_Coord sz);

/**
 *
 * @brief This function returns the gesture layer finger-size for taps
 *
 * @if MOBILE @since_tizen 2.3
 * @elseif WEARABLE @since_tizen 2.3.1
 * @endif
 *
 * @return Finger size that is currently used by Gesture Layer for taps.
 *
 * @since 1.8
 * @ingroup Elm_Gesture_Layer
 *
 * @param[in] obj The elm gesture layer object
 */
EAPI Evas_Coord elm_gesture_layer_tap_finger_size_get(const Elm_Gesture_Layer *obj);

/**
 *
 * @brief This function is to make gesture-layer repeat events.
 *
 * @if MOBILE @since_tizen 2.3
 * @elseif WEARABLE @since_tizen 2.3.1
 * @endif
 *
 * @remark Set this if you like to get the raw events only if gestures were not
 * detected.
 * Clear this if you like gesture layer to forward events as testing gestures.
 * @ingroup Elm_Gesture_Layer
 *
 * @param[in] obj The elm gesture layer object
 * @param[in] hold_events hold events or not.
 */
EAPI void elm_gesture_layer_hold_events_set(Elm_Gesture_Layer *obj, Eina_Bool hold_events);

/**
 *
 * @brief Call this function to get repeat-events settings.
 *
 * @if MOBILE @since_tizen 2.3
 * @elseif WEARABLE @since_tizen 2.3.1
 * @endif
 *
 * @return repeat events settings.
 * @see elm_gesture_layer_hold_events_set()
 * @ingroup Elm_Gesture_Layer
 *
 * @param[in] obj The elm gesture layer object
 */
EAPI Eina_Bool elm_gesture_layer_hold_events_get(const Elm_Gesture_Layer *obj);

/**
 *
 * @brief This function sets step-value for rotate action.
 *
 * @if MOBILE @since_tizen 2.3
 * @elseif WEARABLE @since_tizen 2.3.1
 * @endif
 *
 * @remark Set step to any positive value.
 * Cancel step setting by setting to 0
 * @ingroup Elm_Gesture_Layer
 *
 * @param[in] obj The elm gesture layer object
 * @param[in] step new rotate step value.
 */
EAPI void elm_gesture_layer_rotate_step_set(Elm_Gesture_Layer *obj, double step);

/**
 *
 * @brief This function returns step-value for rotate action.
 *
 * @if MOBILE @since_tizen 2.3
 * @elseif WEARABLE @since_tizen 2.3.1
 * @endif
 *
 * @return rotate step value.
 * @ingroup Elm_Gesture_Layer
 *
 * @param[in] obj The elm gesture layer object
 */
EAPI double elm_gesture_layer_rotate_step_get(const Elm_Gesture_Layer *obj);

/**
 *
 * @brief Use function to set callbacks to be notified about
 * change of state of gesture.
 *
 * @if MOBILE @since_tizen 2.3
 * @elseif WEARABLE @since_tizen 2.3.1
 * @endif
 *
 * @remark When a user registers a callback with this function
 * this means this gesture has to be tested.
 *
 * @remark When ALL callbacks for a gesture are set to NULL
 * it means user isn't interested in gesture-state
 * and it will not be tested.
 * @ingroup Elm_Gesture_Layer
 *
 * @param[in] obj The elm gesture layer object
 * @param[in] idx The gesture you would like to track its state.
 * @param[in] cb_type what event this callback tracks: START, MOVE, END, ABORT.
 * @param[in] cb callback function pointer.
 * @param[in] data user info to be sent to callback (usually, Smart Data)
 */
EAPI void elm_gesture_layer_cb_set(Elm_Gesture_Layer *obj, Elm_Gesture_Type idx, Elm_Gesture_State cb_type, Elm_Gesture_Event_Cb cb, void *data);

/**
 *
 * @brief Attach a given gesture layer widget to an Evas object, thus setting
 * the widget's @b target.
 *
 * @if MOBILE @since_tizen 2.3
 * @elseif WEARABLE @since_tizen 2.3.1
 * @endif
 *
 * @remark A gesture layer target may be whichever Evas object one
 * chooses. This will be object @a obj will listen all mouse and key
 * events from, to report the gestures made upon it back.
 *
 * @return @c EINA_TRUE, on success, @c EINA_FALSE otherwise.
 * @ingroup Elm_Gesture_Layer
 * 
 *
 * @param[in] obj The elm gesture layer object
 * @param[in] target Object to attach to @a obj (target)
 */
EAPI Eina_Bool elm_gesture_layer_attach(Elm_Gesture_Layer *obj, Evas_Object *target);

/**
 *
 * @internal
 *
 * Use this function to remove a callback that has been added
 * to be notified about change of state of gesture.
 * @ingroup Elm_Gesture_Layer
 * 
 *
 * @param[in] obj The elm gesture layer object
 * @param[in] idx The gesture you would like to track its state.
 * @param[in] cb_type what event this callback tracks: START, MOVE, END, ABORT.
 * @param[in] cb callback function pointer.
 * @param[in] data user info for the callback (usually, Smart Data)
 */
//EAPI void elm_gesture_layer_cb_del(Elm_Gesture_Layer *obj, Elm_Gesture_Type idx, Elm_Gesture_State cb_type, Elm_Gesture_Event_Cb cb, void *data);

/**
 *
 * @internal
 *
 * Use function to add callbacks to be notified about
 * change of state of gesture.
 * When a user registers a callback with this function
 * this means this gesture has to be tested.
 *
 * When ALL callbacks for a gesture are set to NULL
 * it means user isn't interested in gesture-state
 * and it will not be tested.
 *
 * If a function was already set for this gesture/type/state, it will be
 * replaced by the new one. For ABI compat, callbacks added by
 * elm_gesture_layer_cb_add will be removed. It is recommended to
 * use only one of these functions for a gesture object.
 * @ingroup Elm_Gesture_Layer
 * 
 *
 * @param[in] obj The elm gesture layer object
 * @param[in] idx The gesture you would like to track its state.
 * @param[in] cb_type what event this callback tracks: START, MOVE, END, ABORT.
 * @param[in] cb callback function pointer.
 * @param[in] data user info to be sent to callback (usually, Smart Data)
 */
//EAPI void elm_gesture_layer_cb_add(Elm_Gesture_Layer *obj, Elm_Gesture_Type idx, Elm_Gesture_State cb_type, Elm_Gesture_Event_Cb cb, void *data);

#endif
