feedback: Change profile version from header files 54/303254/1
authorYunhee Seo <yuni.seo@samsung.com>
Fri, 22 Dec 2023 06:42:17 +0000 (15:42 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Fri, 22 Dec 2023 06:42:17 +0000 (15:42 +0900)
As profiles are integrated, there is no need to mark versions separately.
Thus, the version has been changed based on mobile.

Change-Id: I16f2693313392f0d6ca617eba0efb359beb5b831
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
include/feedback-ids.h
include/feedback.h

index e320365d37aeccbaaca0db8f46a248b0baae8030..a039c6b8dd015986af9dc6d6c49708b892831e16 100644 (file)
@@ -33,7 +33,7 @@ extern "C" {
 
 /**
  * @brief Enumeration for feedback interface type.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  */
 typedef enum {
        FEEDBACK_TYPE_NONE, /**< Feedback type none */
@@ -47,7 +47,7 @@ typedef enum {
  * @brief Enumeration for feedback interface of the system pre-defined patterns.
  * @details Each feedback pattern can have separate media files of each types.
  *          But depending on vendor design, pattern may not have any type of file.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  */
 typedef enum {
        FEEDBACK_PATTERN_NONE = -1,
index 533eb073d38479b5ea80699a034557ae39d04678..7fc9cea62340a4f1ccf68689f62d887259257ece 100644 (file)
@@ -43,7 +43,7 @@ extern "C" {
 
 /**
  * @brief Enumeration for the Feedback API error codes.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  */
 typedef enum {
        FEEDBACK_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
@@ -57,7 +57,7 @@ typedef enum {
 
 /**
  * @brief Initializes feedback API.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  * @remarks If this function is not called in advance, other function will return #FEEDBACK_ERROR_NOT_INITIALIZED.
  *          And for controlling haptic device, the privilege should be set to, %http://tizen.org/privilege/haptic.
  *          If you don't have the haptic privilege, this function initializes only sound.
@@ -75,7 +75,7 @@ int feedback_initialize(void);
 /**
  * @brief Deinitializes feedback API.
  * @details This function must be called when feedback functions are no longer needed.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  * @remarks If you don't want to use feedback anymore, you need to deinitialize with this function.
  *          And for controlling haptic device, the privilege should be set to, %http://tizen.org/privilege/haptic.
  *          If you don't have the haptic privilege, this function deinitializes only sound.
@@ -95,7 +95,7 @@ int feedback_deinitialize(void);
  * @brief Plays various types of reactions that are pre-defined.
  * @details This function can be used to react to pre-defined actions. \n
  *          It play various types of system pre-defined media or vibration patterns.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  * @remarks Currently, there are two types of reactions: sound and vibration. \n
  *          Depending on the settings, some types cannot operate.
  *          For example, when set to silent mode, the device doesn't produce any sound.
@@ -119,7 +119,7 @@ int feedback_play(feedback_pattern_e pattern);
  * @brief Plays specific type of reactions that are pre-defined.
  * @details This function can be used to react to pre-defined actions. \n
  *          It play specific type of system pre-defined pattern.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  * @remarks Currently, there are two types of reactions: sound and vibration. \n
  *          Depending on the settings, some types cannot operate.
  *          For example, when set to silent mode, the device doesn't produce any sound.
@@ -143,7 +143,7 @@ int feedback_play_type(feedback_type_e type, feedback_pattern_e pattern);
  * @brief Stops various types of reactions.
  * @details This function can be used to stop reaction to pre-defined actions. \n
  *          It stops system pre-defined vibration patterns.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  * @remarks This function does not support to stop media sound actions. \n
  *          In this case, it will return FEEDBACK_ERROR_NOT_SUPPORTED error.
  *          And for controlling haptic device, the privilege should be set to, %http://tizen.org/privilege/haptic.
@@ -164,7 +164,7 @@ int feedback_stop(void);
 /**
  * @brief Checks if the pattern is supported.
  * @details This function can be used to check if a specific pattern is supported.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  * @param[in] type The pattern type
  * @param[in] pattern The pre-defined pattern
  * @param[out] status True means the pattern is supported,