Remove conditional statements for Mobile/Wearable profiles 02/309802/1 accepted/tizen/unified/20240423.164610 accepted/tizen/unified/dev/20240620.011410 accepted/tizen/unified/x/20240425.051100 accepted/tizen/unified/x/asan/20240625.091800
authorSung-hun Kim <sfoon.kim@samsung.com>
Wed, 17 Apr 2024 02:59:37 +0000 (11:59 +0900)
committerSung-hun Kim <sfoon.kim@samsung.com>
Wed, 17 Apr 2024 02:59:37 +0000 (11:59 +0900)
Remove conditional statements in trace.h header file and
use the Mobile version for since_tizen.

Change-Id: I679e75bb3be8c45abe3298f9126a45ada1f18091
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
include/trace.h

index 11a8f76cd17286a314bbd2f0d2e78bb7061c2016..e9024d1a818c493327963176bc8cba6986347702 100755 (executable)
@@ -37,7 +37,7 @@ extern "C" {
 
 /**
 * @brief Enumeration for Trace Error.
-* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
+* @since_tizen 2.4
 */
 typedef enum {
        TRACE_ERROR_NONE = TIZEN_ERROR_NONE,    /**< Successful */
@@ -47,7 +47,7 @@ typedef enum {
 /**
  * @brief Writes a trace event to indicate that a synchronous event has begun.
  *
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.4
  * @remarks The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section.
  * @param[in] name The name of event (optionally containing format specifiers)
  * @exception #TRACE_ERROR_NONE        Success
@@ -59,7 +59,7 @@ void trace_begin(const char *name, ...);
 /**
  * @brief Writes a trace event to indicate that the synchronous event has ended.
  *
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.4
  * @remarks trace_end() ends the most recently called trace_begin().
  * @remarks The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section.
  * @exception #TRACE_ERROR_NONE  Success
@@ -71,7 +71,7 @@ void trace_end(void);
 /**
  * @brief Writes a trace event to indicate that an asynchronous event has begun.
  *
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.4
  * @remarks The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section.
  * @param[in] cookie An unique identifier for distinguishing simultaneous events
  * @param[in] name The name of event (optionally containing format specifiers)
@@ -84,7 +84,7 @@ void trace_async_begin(int cookie, const char *name, ...);
 /**
  * @brief Writes a trace event to indicate that the asynchronous event has ended.
  *
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.4
  * @remarks trace_async_end() ends matched trace_async_begin() which has same cookie and name.
  * @remarks The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section.
  * @param[in] cookie An unique identifier for distinguishing simultaneous events
@@ -98,7 +98,7 @@ void trace_async_end(int cookie, const char *name, ...);
 /**
  * @brief Writes a trace event to track change of integer counter.
  *
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.4
  * @remarks The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section.
  * @param[in] value The counter value
  * @param[in] name The name of event (optionally containing format specifiers)