Remove deprecated macro in callback function
[platform/core/api/gesture.git] / include / gesture.h
index 6065720..910f45f 100644 (file)
@@ -34,12 +34,14 @@ extern "C" {
  */
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief The hand gesture handle.
  * @since_tizen @if WEARABLE 6.0 @endif
  */
 typedef struct hand_gesture_s *hand_gesture_h;
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief Called when a gesture is detected.
  * @details Following error codes can be delivered: \n
  *          #HAND_GESTURE_ERROR_NONE, \n
@@ -62,9 +64,10 @@ typedef struct hand_gesture_s *hand_gesture_h;
  *
  * @see hand_gesture_start_recognition()
  */
-typedef void(* hand_gesture_recognition_cb)(hand_gesture_h handle, hand_gesture_type_e gesture, double timestamp, hand_gesture_error_e error, void *user_data) TIZEN_DEPRECATED_API;
+typedef void(* hand_gesture_recognition_cb)(hand_gesture_h handle, hand_gesture_type_e gesture, double timestamp, hand_gesture_error_e error, void *user_data);
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief Called when an error is occurred.
  * @details Following error codes can be delivered: \n
  *          #HAND_GESTURE_ERROR_INVALID_PARAMETER, \n
@@ -89,9 +92,10 @@ typedef void(* hand_gesture_recognition_cb)(hand_gesture_h handle, hand_gesture_
  * @see hand_gesture_set_error_cb()
  * @see hand_gesture_unset_error_cb()
  */
-typedef void(* hand_gesture_error_cb)(hand_gesture_h handle, hand_gesture_error_e error, const char* msg, void *user_data) TIZEN_DEPRECATED_API;
+typedef void(* hand_gesture_error_cb)(hand_gesture_h handle, hand_gesture_error_e error, const char* msg, void *user_data);
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief Checks whether a gesture is supported or not.
  * @details Check if the given gesture type is supported on the device.
  *
@@ -111,6 +115,7 @@ typedef void(* hand_gesture_error_cb)(hand_gesture_h handle, hand_gesture_error_
 int hand_gesture_is_supported_type(hand_gesture_h handle, hand_gesture_type_e gesture, bool* supported) TIZEN_DEPRECATED_API;
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief Creates a gesture handle.
  *
  * @since_tizen @if WEARABLE 6.0 @endif
@@ -133,6 +138,7 @@ int hand_gesture_is_supported_type(hand_gesture_h handle, hand_gesture_type_e ge
 int hand_gesture_create(hand_gesture_h *handle) TIZEN_DEPRECATED_API;
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief Destroys a gesture handle.
  *
  * @since_tizen @if WEARABLE 6.0 @endif
@@ -150,6 +156,7 @@ int hand_gesture_create(hand_gesture_h *handle) TIZEN_DEPRECATED_API;
 int hand_gesture_destroy(hand_gesture_h handle) TIZEN_DEPRECATED_API;
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief Sets an option for gesture recognition.
  *
  * @since_tizen @if WEARABLE 6.0 @endif
@@ -170,6 +177,7 @@ int hand_gesture_destroy(hand_gesture_h handle) TIZEN_DEPRECATED_API;
 int hand_gesture_set_option(hand_gesture_h handle, hand_gesture_option_e option) TIZEN_DEPRECATED_API;
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief Starts to recognize a gesture.
  * @details Sets a callback function to be invoked when the gesture is detected, and starts to monitor occurrences of the gesture.
  *
@@ -199,6 +207,7 @@ int hand_gesture_set_option(hand_gesture_h handle, hand_gesture_option_e option)
 int hand_gesture_start_recognition(hand_gesture_h handle, hand_gesture_type_e gesture, hand_gesture_recognition_cb callback, void *user_data) TIZEN_DEPRECATED_API;
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief Stops recognizing the gesture registered to the gesture handle.
  *
  * @since_tizen @if WEARABLE 6.0 @endif
@@ -215,6 +224,7 @@ int hand_gesture_start_recognition(hand_gesture_h handle, hand_gesture_type_e ge
 int hand_gesture_stop_recognition(hand_gesture_h handle) TIZEN_DEPRECATED_API;
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief Gets a gesture engine information.
  *
  * @since_tizen @if WEARABLE 6.0 @endif
@@ -233,6 +243,7 @@ int hand_gesture_stop_recognition(hand_gesture_h handle) TIZEN_DEPRECATED_API;
 int hand_gesture_get_engine_info(hand_gesture_h handle, char** engine_app_id, char** engine_name) TIZEN_DEPRECATED_API;
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief Sets a callback function to be invoked when an error is occurred.
  *
  * @since_tizen @if WEARABLE 6.0 @endif
@@ -253,6 +264,7 @@ int hand_gesture_get_engine_info(hand_gesture_h handle, char** engine_app_id, ch
 int hand_gesture_set_error_cb(hand_gesture_h handle, hand_gesture_error_cb callback, void *user_data) TIZEN_DEPRECATED_API;
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief Unsets a callback function to be invoked when an error is occurred.
  *
  * @since_tizen @if WEARABLE 6.0 @endif