Remove conditional statements for Moible/Wearable profile 82/306082/1
authorChanggyu Choi <changyu.choi@samsung.com>
Fri, 16 Feb 2024 05:05:19 +0000 (14:05 +0900)
committerChanggyu Choi <changyu.choi@samsung.com>
Fri, 16 Feb 2024 05:05:19 +0000 (14:05 +0900)
Change-Id: I631a0cc9f699596c22504bd389e4e39e93fe93ec
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
12 files changed:
notification/include/notification.h
notification/include/notification_error.h
notification/include/notification_internal.h
notification/include/notification_list.h
notification/include/notification_ongoing.h
notification/include/notification_ongoing_flag.h
notification/include/notification_setting.h
notification/include/notification_setting_internal.h
notification/include/notification_status.h
notification/include/notification_status_internal.h
notification/include/notification_text_domain.h
notification/include/notification_type.h

index 5a66366f7983a04a8cdf32f368380fba697a43bd..dcc1534c1a2d4ea5e52114227c9e3db53db44ce1 100644 (file)
@@ -44,7 +44,7 @@ extern "C" {
 
 /**
  * @brief Sets an absolute path for an image file to display on the notification view.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @param[in] noti The notification handle
  * @param[in] type The notification image type
  * @param[in] image_path The image file full path
@@ -80,7 +80,7 @@ int notification_set_image(notification_h noti, notification_image_type_e type,
 
 /**
  * @brief Gets the absolute path of an image file.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @remarks Do not free @a image_path. It will be freed when notification_free() is called.
  * @param[in] noti Notification handle
  * @param[in] type Notification image type
@@ -112,7 +112,7 @@ int notification_get_image(notification_h noti, notification_image_type_e type,
 /**
  * @brief Sets a timestamp.
  * @details If input_time is @c 0, time information is taken from the current time.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @param[in] noti The notification handle
  * @param[in] input_time The input time. If you want the time stamp to not be shown, set this as #NOTIFICATION_DO_NOT_SHOW_TIME_STAMP
  * @return #NOTIFICATION_ERROR_NONE on success,
@@ -148,7 +148,7 @@ int notification_set_time(notification_h noti, time_t input_time);
 /**
  * @brief Gets a timestamp.
  * @details If ret_time is @c 0, time information is not set before.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @param[in] noti The notification handle
  * @param[out] ret_time The return time value
  * @return #NOTIFICATION_ERROR_NONE on success,
@@ -177,7 +177,7 @@ int notification_get_time(notification_h noti, time_t *ret_time);
 /**
  * @brief Gets an insertion timestamp of the notification.
  * @details If ret_time is @c 0, this notification data is not inserted before.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @param[in] noti The notification handle
  * @param[out] ret_time The return time value
  * @return #NOTIFICATION_ERROR_NONE on success,
@@ -217,7 +217,7 @@ int notification_get_insert_time(notification_h noti, time_t *ret_time);
  *          The application must supply a String KEY as the fourth argument to support localization.
  *          If the language on the system changes, the contents of the notification are also translated.
  *
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @param[in] noti The notification handle
  * @param[in] type The notification text type
  * @param[in] text The basic text
@@ -255,7 +255,7 @@ int notification_set_text(notification_h noti, notification_text_type_e type,
 
 /**
  * @brief Gets the text from the notification handle.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @remarks Do not free @a text. It will be freed when notification_free() is called.
  * @param[in] noti The notification handle
  * @param[in] type The notification text type
@@ -286,7 +286,7 @@ int notification_get_text(notification_h noti, notification_text_type_e type, ch
 /**
  * @brief Sets the timestamp to display on the notification view.
  * @details The timestamp will be converted to a formatted string and it will be displayed on the set text area.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @param[in] noti The notification handle
  * @param[in] type The notification text type
  * @param[in] time The timestamp
@@ -301,7 +301,7 @@ int notification_set_time_to_text(notification_h noti, notification_text_type_e
 
 /**
  * @brief Gets the timestamp from the notification handle.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @param[in] noti The notification handle
  * @param[in] type The notification text type
  * @param[in] time The pointer of time stamp
@@ -316,7 +316,7 @@ int notification_get_time_from_text(notification_h noti, notification_text_type_
 
 /**
  * @brief Sets the sound type for the notification.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @param[in] noti The notification handle
  * @param[in] type The notification sound type
  * @param[in] path The user sound file path
@@ -344,7 +344,7 @@ int notification_set_sound(notification_h noti, notification_sound_type_e type,
 
 /**
  * @brief Gets the sound type from the notification handle.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @remarks Do not free @a path. It will be freed when notification_free() is called.
  * @param[in] noti The notification handle
  * @param[out] type The notification sound type
@@ -374,7 +374,7 @@ int notification_get_sound(notification_h noti, notification_sound_type_e *type,
 
 /**
  * @brief Sets the vibration type for the notification.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @param[in] noti The notification handle
  * @param[in] type The notification vibration type
  * @param[in] path The user vibration file path
@@ -402,7 +402,7 @@ int notification_set_vibration(notification_h noti, notification_vibration_type_
 
 /**
  * @brief Gets the vibrate type from the notification handle.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @remarks Do not free @a path. It will be freed when notification_free() is called.
  * @param[in] noti The notification handle
  * @param[out] type The notification sound type
@@ -432,7 +432,7 @@ int notification_get_vibration(notification_h noti, notification_vibration_type_
 
 /**
  * @brief Sets the LED displaying option.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @param[in] noti The notification handle
  * @param[in] operation The LED notification operation
  * @param[in] led_argb The notification LED color
@@ -460,7 +460,7 @@ int notification_set_led(notification_h noti, notification_led_op_e operation, i
 
 /**
  * @brief Gets the LED displaying option from the notification handle.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @param[in] noti The notification handle
  * @param[out] operation The LED notification operation
  * @param[out] led_argb The notification LED color
@@ -489,7 +489,7 @@ int notification_get_led(notification_h noti, notification_led_op_e *operation,
 
 /**
  * @brief Sets the time period of flashing the LED.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @param[in] noti The notification handle
  * @param[in] on_ms The time for turning on the LED
  * @param[in] off_ms The time for turning off the LED
@@ -517,7 +517,7 @@ int notification_set_led_time_period(notification_h noti, int on_ms, int off_ms)
 
 /**
  * @brief Gets the time period of flashing the LED from the notification handle.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @param[in] noti The notification handle
  * @param[out] on_ms The time for turning on the LED
  * @param[out] off_ms The time for turning on the LED
@@ -548,7 +548,7 @@ int notification_get_led_time_period(notification_h noti, int *on_ms, int *off_m
 /**
  * @brief Sets the launch option for a notification.
  * @details When notification data selected in display application, application launched by app_control_send_launch_request with app_control handle.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @privlevel public
  * @privilege %http://tizen.org/privilege/appmanager.launch
  * @remarks Since 4.0, %http://tizen.org/privilege/appmanager.launch privilege is additionally required.
@@ -591,7 +591,7 @@ int notification_set_launch_option(notification_h noti, notification_launch_opti
 
 /**
  * @brief Gets the launch option from the notification handle.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @remarks You must release @a option using app_control_destroy().
  * @param[in] noti The notification handle
  * @param[in] type Launching option type
@@ -624,7 +624,7 @@ int notification_get_launch_option(notification_h noti, notification_launch_opti
  * @brief Sets the handler for a specific event.
  * @details When some event occurs on notification, application launched by app_control_send_launch_request with app_control handle. \n
  *          Setting event handler of a button means that the notification will show the button.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  * @privlevel public
  * @privilege %http://tizen.org/privilege/appmanager.launch
  * @remarks Since 4.0, %http://tizen.org/privilege/appmanager.launch privilege is additionally required.
@@ -668,7 +668,7 @@ int notification_set_event_handler(notification_h noti, notification_event_type_
 
 /**
  * @brief Gets the event handler of a specific event.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  * @remarks You must release @a event_handler using app_control_destroy().
  * @param[in] noti The notification handle
  * @param[in] event_type Launching option type
@@ -702,7 +702,7 @@ int notification_get_event_handler(notification_h noti, notification_event_type_
 
 /**
  * @brief Sets the property of the notification.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @param[in] noti The notification handle
  * @param[in] flags The property with | operation
  * @return #NOTIFICATION_ERROR_NONE on success,
@@ -735,7 +735,7 @@ int notification_set_property(notification_h noti, int flags);
 
 /**
  * @brief Gets the property of the notification from the notification handle.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @param[in] noti The notification handle
  * @param[out] flags The notification property
  * @return #NOTIFICATION_ERROR_NONE on success,
@@ -764,7 +764,7 @@ int notification_get_property(notification_h noti, int *flags);
 /**
  * @brief Sets applications to display the notification.
  * @details All display application is enabled(#NOTIFICATION_DISPLAY_APP_ALL) if you do not call this function.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @param[in] noti The notification handle
  * @param[in] applist The with | operation
  * @return #NOTIFICATION_ERROR_NONE on success,
@@ -798,7 +798,7 @@ int notification_set_display_applist(notification_h noti, int applist);
 
 /**
  * @brief Gets the application list displaying the notification from the notification handle.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @param[in] noti The notification handle
  * @param[out] applist The display application list
  * @return #NOTIFICATION_ERROR_NONE on success,
@@ -827,7 +827,7 @@ int notification_get_display_applist(notification_h noti, int *applist);
 /**
  * @brief Sets the initial size for the ongoing type.
  * @details After notification_post() call, the size is not updated.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @param[in] noti The notification handle
  * @param[in] size The double type size
  * @return #NOTIFICATION_ERROR_NONE on success,
@@ -859,7 +859,7 @@ int notification_set_size(notification_h noti, double size);
 
 /**
  * @brief Gets the progress size.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @param[in] noti The notification handle
  * @param[out] size The progress size
  * @return #NOTIFICATION_ERROR_NONE on success,
@@ -887,7 +887,7 @@ int notification_get_size(notification_h noti, double *size);
 /**
  * @brief Sets the initial progress for the ongoing type.
  * @details After the notification_post() call, the progress is not updated.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @param[in] noti The notification handle
  * @param[in] percentage The progress percentage
  * @return #NOTIFICATION_ERROR_NONE on success,
@@ -919,7 +919,7 @@ int notification_set_progress(notification_h noti, double percentage);
 
 /**
  * @brief Gets the progress from the notification handle.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @remarks At the end of the operation, the progress should be @c 1.0.
  * @param[in] noti The notification handle
  * @param[out] percentage The progress percentage
@@ -949,7 +949,7 @@ int notification_get_progress(notification_h noti, double *percentage);
 /**
  * @brief Sets the layout of the notification view.
  * @details Caller can set displaying layout of notification.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @param[in] noti The notification handle
  * @param[in] layout The type of layout
  * @return #NOTIFICATION_ERROR_NONE on success,
@@ -963,7 +963,7 @@ int notification_set_layout(notification_h noti, notification_ly_type_e layout);
 
 /**
  * @brief Gets the layout of the notification view from the notification handle.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @param[in] noti The notification handle
  * @param[out] layout The type of layout
  * @return #NOTIFICATION_ERROR_NONE on success,
@@ -977,7 +977,7 @@ int notification_get_layout(notification_h noti, notification_ly_type_e *layout)
 
 /**
  * @brief Gets the type of a notification.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @param[in] noti The notification handle
  * @param[out] type The notification type
  * @return #NOTIFICATION_ERROR_NONE on success,
@@ -1004,7 +1004,7 @@ int notification_get_type(notification_h noti, notification_type_e *type);
 /**
  * @brief Updates notification data.
  * @details The updated notification will appear in the notification area.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @privlevel public
  * @privilege %http://tizen.org/privilege/notification
  * @param[in] noti The notification handle that is created by notification_create()
@@ -1033,7 +1033,7 @@ int notification_update(notification_h noti);
 /**
  * @brief Deletes a notification with the given handle.
  * @details notification_delete() removes notification data from database and notification_free() releases memory of notification data.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @privlevel public
  * @privilege %http://tizen.org/privilege/notification
  * @param[in] noti The notification handle
@@ -1067,7 +1067,7 @@ int notification_delete(notification_h noti);
  * @details Available type is #NOTIFICATION_TYPE_NOTI and #NOTIFICATION_TYPE_ONGOING.
  *          #NOTIFICATION_TYPE_NOTI is remaining notification data even if device is restarted.
  *          #NOTIFICATION_TYPE_ONGOING can display progress on a notification with #NOTIFICATION_LY_ONGOING_PROGRESS layout.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @remarks The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section.
  *          The returned value should be released using notification_free().
  * @param[in] type The notification type
@@ -1101,7 +1101,7 @@ notification_h notification_create(notification_type_e type);
 /**
  * @brief Creates a notification clone.
  * @details Newly created notification handle is returned.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @remarks This cloned notification handle should be freed using notification_free().
  * @param[in] noti The notification handle
  * @param[out] clone The newly created notification handle that has same with input @a noti
@@ -1131,7 +1131,7 @@ int notification_clone(notification_h noti, notification_h *clone);
 /**
  * @brief Frees the internal structure data of a notification handle.
  * @details Internal data of a notification handle is released. Data of the inserted notification is not deleted.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @param[in] noti The notification handle
  * @return #NOTIFICATION_ERROR_NONE on success,
  *         otherwise any other value on failure
@@ -1164,7 +1164,7 @@ int notification_free(notification_h noti);
 
 /**
  * @brief Sets the tag of the notification handle.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @param[in] noti Notification handle
  * @param[in] tag Tag for loading notification handle
  * @return #NOTIFICATION_ERROR_NONE on success,
@@ -1198,7 +1198,7 @@ int notification_set_tag(notification_h noti, const char *tag);
 
 /**
  * @brief Gets the tag of the notification handle.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @remarks Do not free @a tag. It will be freed when notification_free() is called.
  * @param[in] noti Notification handle
  * @param[out] tag Tag for loading notification handle
@@ -1229,7 +1229,7 @@ int notification_get_tag(notification_h noti, const char **tag);
 
 /**
  * @brief Loads a notification from the notification's database with the tag.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @privlevel public
  * @privilege %http://tizen.org/privilege/notification
  * @remarks The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section.
@@ -1263,7 +1263,7 @@ notification_h notification_load_by_tag(const char *tag);
 
 /**
  * @brief Deletes all notifications of the given type.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @privlevel public
  * @privilege %http://tizen.org/privilege/notification
  * @param[in] type Notification type
@@ -1291,7 +1291,7 @@ int notification_delete_all(notification_type_e type);
 
 /**
  * @brief Posts a notification.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @privlevel public
  * @privilege %http://tizen.org/privilege/notification
  * @param[in] noti Notification handle
@@ -1321,7 +1321,7 @@ int notification_post(notification_h noti);
 
 /**
  * @brief Gets the package name of the notification.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  * @remarks Do not free @a pkgname. It will be freed when notification_free() is called.
  * @param[in] noti Notification handle
  * @param[out] pkgname The package name of the notification
@@ -1355,7 +1355,7 @@ int notification_get_pkgname(notification_h noti, char **pkgname);
 
 /**
  * @brief Adds a button on the notification.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  * @param[in] noti Notification handle
  * @param[in] button_index Button index
  * @return #NOTIFICATION_ERROR_NONE on success,
@@ -1387,7 +1387,7 @@ int notification_add_button(notification_h noti, notification_button_index_e but
 
 /**
  * @brief Removes a button on the notification.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  * @param[in] noti Notification handle
  * @param[in] button_index Button index
  * @return #NOTIFICATION_ERROR_NONE on success,
@@ -1420,7 +1420,7 @@ int notification_remove_button(notification_h noti, notification_button_index_e
 /**
  * @brief Sets the 'auto remove' option of the active notification.
  * @details The 'auto remove' option lets the active notification be removed several seconds after it shows. Default value is true.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  * @remarks When 'auto_remove' is set as false, the active notification will not be removed
  *          as long as the user removes the active notification or the app which posted the active notification removes the active notification.
  * @param[in] noti Notification handle
@@ -1453,7 +1453,7 @@ int notification_set_auto_remove(notification_h noti, bool auto_remove);
 /**
  * @brief Gets the 'auto remove' option of the active notification.
  * @details The 'auto remove' option lets the active notification be removed several seconds after it shows. Default value is true.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  * @param[in] noti Notification handle
  * @param[out] auto_remove Auto remove option
  * @return #NOTIFICATION_ERROR_NONE On success, other value on failure
index 91f768d00eb9a7fb10c06f587fbb92847f4a4fa9..f979ccf9154f81f84920eca46eace30dc5de9957 100644 (file)
@@ -35,7 +35,7 @@
 
 /**
  * @brief Enumeration for notification errors.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  */
 typedef enum _notification_error {
        NOTIFICATION_ERROR_NONE = TIZEN_ERROR_NONE, /**< Success */
@@ -43,7 +43,7 @@ typedef enum _notification_error {
        NOTIFICATION_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */
        NOTIFICATION_ERROR_IO_ERROR = TIZEN_ERROR_IO_ERROR, /**< I/O error */
        NOTIFICATION_ERROR_PERMISSION_DENIED = TIZEN_ERROR_PERMISSION_DENIED, /**< Permission denied */
-       NOTIFICATION_ERROR_INVALID_OPERATION = TIZEN_ERROR_INVALID_OPERATION, /**< Function not implemented (@b Since: @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif) */
+       NOTIFICATION_ERROR_INVALID_OPERATION = TIZEN_ERROR_INVALID_OPERATION, /**< Function not implemented (@b Since: 2.4 */
        NOTIFICATION_ERROR_FROM_DB = TIZEN_ERROR_NOTIFICATION | 0x01, /**< Error from DB query */
        NOTIFICATION_ERROR_ALREADY_EXIST_ID = TIZEN_ERROR_NOTIFICATION | 0x02, /**< Already exist private ID */
        NOTIFICATION_ERROR_FROM_DBUS = TIZEN_ERROR_NOTIFICATION | 0x03, /**< Error from DBus */
index 01080cc2b149b31a00e21473f144827fe75338b2..c5fef25bc6dccfb4d5d5b61733819f73b9f55cce 100644 (file)
@@ -81,7 +81,7 @@ int notification_unresister_changed_cb_for_uid(
 /**
  * @brief Updates the progress of the inserted notification. This only works for the ongoing notification (NOTIFICATION_TYPE_ONGOING).
  * @details The Notification view on the notification area could be updated.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @param[in] noti Notification handle or NULL if priv_id is valid
  * @param[in] priv_id Private ID
  * @param[in] progress Percentage value of progressive data
@@ -107,7 +107,7 @@ int notification_update_progress(notification_h noti, int priv_id, double progre
 /**
  * @brief Updates the size of inserted notification data. This only works for the ongoing notification (NOTIFICATION_TYPE_ONGOING).
  * @details Notification view on notification area could be updated.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @param[in] noti Notification handle or NULL if priv_id is valid
  * @param[in] priv_id Private ID
  * @param[in] size Bytes of progressive data
@@ -133,7 +133,7 @@ int notification_update_size(notification_h noti, int priv_id, double size);
 /**
  * @brief Updates the content of the inserted notification data. This is only for the ongoing notification (NOTIFICATION_TYPE_ONGOING).
  * @details Notification view on notification area could be updated.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @param[in] noti Notification handle or NULL if priv_id is valid
  * @param[in] priv_id Private ID
  * @param[in] content Text to update
@@ -580,7 +580,7 @@ int notification_get_execute_option(notification_h noti,
  * @brief Inserts a notification.
  * @details The notification will be inserted to the database and then it will appear in the notification area.
  *          When notification_create() is called, if priv_id is #NOTIFICATION_PRIV_ID_NONE, priv_id returns the internally set priv_id.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @privlevel public
  * @privilege %http://tizen.org/privilege/notification
  * @param[in] noti The notification handle
@@ -613,7 +613,7 @@ int notification_insert_for_uid(notification_h noti, int *priv_id, uid_t uid);
  * @internal
  * @brief Updates a notification, asynchronously.
  * @details The updated notification will appear in the notification area.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @privlevel public
  * @privilege %http://tizen.org/privilege/notification
  * @remarks This function updates the notification asynchronously.
@@ -649,7 +649,7 @@ int notification_update_async_for_uid(notification_h noti,
  * @internal
  * @brief Registers a callback for all notification events.
  * @details The registered callback could be called for all notification events.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @privlevel public
  * @privilege %http://tizen.org/privilege/notification
  * @param[in] changed_cb The callback function
@@ -682,7 +682,7 @@ int notification_register_detailed_changed_cb_for_uid(
 /**
  * @internal
  * @brief Unregisters a callback for all notification events.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @privlevel public
  * @privilege %http://tizen.org/privilege/notification
  * @param[in] changed_cb The callback function
index 2b148e7402b2a46b93a3383e986c725301c99346..4961fc41bd3a3fa02c465a5f861bd34ddc1dd5b1 100644 (file)
@@ -37,7 +37,7 @@ extern "C" {
 
 /**
  * @brief Notification list handle.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  */
 typedef struct _notification_list *notification_list_h;
 
@@ -46,7 +46,7 @@ typedef struct _notification_list *notification_list_h;
  * @internal
  * @brief Returns the notification list handle.
  * @details If count is equal to @c -1, all notifications are returned.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @privlevel public
  * @privilege %http://tizen.org/privilege/notification
  * @remarks The @a list should be released using notification_free_list().
@@ -112,7 +112,7 @@ int notification_get_list_by_page_for_uid(notification_type_e type,
  * @internal
  * @brief Returns the notification detail list handle of grouping data.
  * @details If count is equal to c -1, all notifications are returned.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @privlevel public
  * @privilege %http://tizen.org/privilege/notification
  * @remarks The @a list should be released using notification_free_list().
@@ -160,7 +160,7 @@ int notification_get_detail_list_for_uid(const char *app_id,
 /**
  * @internal
  * @brief Frees a notification list.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @privlevel public
  * @privilege %http://tizen.org/privilege/notification
  * @param[in] list The notification list handle
@@ -194,7 +194,7 @@ int notification_free_list(notification_list_h list);
 /**
  * @internal
  * @brief Gets the head pointer of the notification list.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @remarks The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section.
  *          The returned value should be released using notification_free_list().
  * @param[in] list Notification list handle
@@ -226,7 +226,7 @@ notification_list_h notification_list_get_head(notification_list_h list);
 /**
  * @internal
  * @brief Gets the tail pointer to the notification list.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @remarks The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section.
  *          The returned value should be released using notification_free_list().
  * @param[in] list Notification list handle
@@ -258,7 +258,7 @@ notification_list_h notification_list_get_tail(notification_list_h list);
 /**
  * @internal
  * @brief Gets the previous pointer of the current notification list.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @remarks The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section.
  *          The returned value should be released using notification_free_list().
  * @param[in] list Notification list handle
@@ -290,7 +290,7 @@ notification_list_h notification_list_get_prev(notification_list_h list);
 /**
  * @internal
  * @brief Gets the next pointer of the current notification list.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @remarks The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section.
  *          The returned value should be released using notification_free_list().
  * @param[in] list Notification list handle
@@ -322,7 +322,7 @@ notification_list_h notification_list_get_next(notification_list_h list);
 /**
  * @internal
  * @brief Gets the notification handle that the list has.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @remarks The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section.
  *          The returned value should be released using notification_free().
  * @param[in] list Notification list handle
@@ -387,7 +387,7 @@ int notification_list_get_count(notification_list_h list);
 /**
  * @internal
  * @brief Appends notification data to the notification list.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @remarks The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section.
  * @param[in] list Notification list handle
  * @param[in] noti Notification handle
@@ -421,7 +421,7 @@ notification_list_h notification_list_append(notification_list_h list,
 /**
  * @internal
  * @brief Removes notification data from the notification list.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @remarks The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section.
  * @param[in] list The notification list handle
  * @param[in] noti The notification handle
index fa6e95a94854c0f06ae55bf68660067e4f9b6b47..2de8bca4eb32f0f0c0c899cf4236419f3917ed2b 100644 (file)
@@ -76,7 +76,7 @@ int notification_ongoing_update_cb_unset(void);
 
 /**
  * @brief Updates progress.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @param[in] caller_app_id
  * @param[in] priv_id
  * @param[in] progress
@@ -91,7 +91,7 @@ int notification_ongoing_update_progress(const char *caller_app_id,
 
 /**
  * @brief Updates size.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @param[in] caller_app_id
  * @param[in] priv_id
  * @param[in] size
@@ -106,7 +106,7 @@ int notification_ongoing_update_size(const char *caller_app_id,
 
 /**
  * @brief Updates content.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @param[in] caller_app_id
  * @param[in] priv_id
  * @param[in] content
index 384c5758d77984fba29d3342586fb8a936f8c246..0b3997eb03db0bf8058ca5992fadcb92612451f8 100644 (file)
@@ -25,7 +25,7 @@ extern "C" {
 
 /**
  * @brief Sets the ongoing flag of the notification
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  * @param[in] noti  The notification handle
  * @param[in] ongoing_flag The ongoing flag
  * @return #NOTIFICATION_ERROR_NONE on success,
@@ -58,7 +58,7 @@ int notification_set_ongoing_flag(notification_h noti, bool ongoing_flag);
 
 /**
  * @brief Gets the ongoing flag of the notification
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  * @param[in]  noti  The notification handle
  * @param[out] ongoing_flag The ongoing flag
  * @return #NOTIFICATION_ERROR_NONE on success,
index 9186cd6f8679d6e2c12977010036df80da0468f4..fcf021b1396da67258c107095cfbebcd334636f6 100644 (file)
@@ -31,7 +31,7 @@ typedef struct notification_setting *notification_setting_h;
 /**
  * @internal
  * @brief Gets setting handle of current process.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  * @param[out] setting The setting handle
  * @return #NOTIFICATION_ERROR_NONE on success,
  *         otherwise any other value on failure
@@ -203,7 +203,7 @@ int notification_setting_free_notification(notification_setting_h setting);
 /**
  * @internal
  * @brief Refreshs the setting table of current user.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  * @param[in] uid User id
  * @return #NOTIFICATION_ERROR_NONE on success,
  *         otherwise any other value on failure
@@ -228,7 +228,7 @@ int notification_setting_refresh_setting_table(uid_t uid);
 /**
  * @internal
  * @brief Initializes the system setting table of the current user.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  * @param[in] uid User id
  * @return #NOTIFICATION_ERROR_NONE on success,
  *         otherwise any other value on failure
index 951d4d3a6dedd1167ad2340fc4cb4affd22081a7..09e2d8f64c9c8e3770aac47f3a916656cdd9f59d 100644 (file)
@@ -122,7 +122,7 @@ struct notification_system_setting_dnd_allow_exception {
 /**
  * @internal
  * @brief Gets the array of notification setting.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @privlevel public
  * @privilege %http://tizen.org/privilege/notification
  * @param[out] setting_array The array of notification setting
index b8ff7d117774948597a290edc931e50ed80577ad..e5592483ea0db58d4f254821786fe7074899ebf7 100644 (file)
@@ -37,7 +37,7 @@ extern "C" {
 
 /**
  * @brief Shows a toast popup window with given message.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @param[in] message The messages to be posted
  * @return #NOTIFICATION_ERROR_NONE on success,
  *         otherwise any other value on failure
index a70fa2ea53ab2d101852c26ceaa196a5d25133cb..71a6ab7f90f9ffb5c4c4b30bc54573c50c8e4f3d 100644 (file)
@@ -33,7 +33,7 @@ extern "C" {
 /**
  * @internal
  * @brief Unregisters a callback for all notification events.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @privlevel public
  * @privilege %http://tizen.org/privilege/notification
  * @param[in] changed_cb The callback function
@@ -62,7 +62,7 @@ int notification_unregister_detailed_changed_cb(
 /**
  * @internal
  * @brief Called when a new message is posted.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @param[in] message The message posted
  * @param[in] data    The user data
  * @pre notification_status_monitor_message_cb_set() used to register this callback.
@@ -73,7 +73,7 @@ typedef void (*notification_status_message_cb)(const char *message, void *data);
 /**
  * @internal
  * @brief Registers a callback to receive a message.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @param[in] callback The callback function
  * @param[in] data     The user_data
  * @return #NOTIFICATION_ERROR_NONE if success, other value if failure
@@ -86,7 +86,7 @@ int notification_status_monitor_message_cb_set(notification_status_message_cb ca
 /**
  * @internal
  * @brief Unregisters a callback to receive a message.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @param[in] callback The callback function
  * @param[in] data     The user_data
  * @return #NOTIFICATION_ERROR_NONE if success, other value if failure
index f8c36d8e17c1f615d3df155bc1c13f5ac3510e06..5fe856a131ea81208c002bd4979aceeaf448cad2 100644 (file)
@@ -23,7 +23,7 @@ extern "C" {
 
 /**
  * @brief Sets the text domain to localize the notification.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @param[in] noti   The notification handle
  * @param[in] domain The text domain
  * @param[in] dir    The text dir
@@ -58,7 +58,7 @@ int notification_set_text_domain(notification_h noti,
 
 /**
  * @brief Gets the text domain from the notification handle.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @remarks Do not free returned domain and dir. They are freed when notification_free() or notification_free_list() is called.
  * @param[in]  noti   The notification handle
  * @param[out] domain The domain
index 61010cfa51a26f4f269b350496daad2aea8fe7bd..00162b07eac40db98a48f4b378a76556a8e4091d 100644 (file)
@@ -48,7 +48,7 @@ extern "C" {
 
 /**
  * @brief Enumeration for notification layout type.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  */
 typedef enum _notification_ly_type {
        NOTIFICATION_LY_NONE = 0, /**< Default */
@@ -57,7 +57,7 @@ typedef enum _notification_ly_type {
        NOTIFICATION_LY_NOTI_THUMBNAIL, /**< Layout for notification. Used to display images */
        NOTIFICATION_LY_ONGOING_EVENT, /**< Layout for ongoing notification. Used to display text message.
                                        * notifications with #NOTIFICATION_LY_ONGOING_EVENT can not be protected from
-                                       * removing by user since tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */
+                                       * removing by user since tizen 2.4 */
        NOTIFICATION_LY_ONGOING_PROGRESS, /**< Layout for ongoing notification. Used to display progress */
        NOTIFICATION_LY_EXTENSION, /**< Layout for extended notification (Since 4.0) */
 } notification_ly_type_e;
@@ -65,7 +65,7 @@ typedef enum _notification_ly_type {
 
 /**
  * @brief Enumeration for notification launch option type.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  */
 typedef enum  _notification_launch_option_type {
        NOTIFICATION_LAUNCH_OPTION_APP_CONTROL = 1, /**< Launching with app control */
@@ -74,7 +74,7 @@ typedef enum  _notification_launch_option_type {
 
 /**
  * @brief Enumeration for event type on notification.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  */
 typedef enum _notification_event_type {
        NOTIFICATION_EVENT_TYPE_CLICK_ON_BUTTON_1 = 0, /**< Event type : Click on button 1 */
@@ -95,7 +95,7 @@ typedef enum _notification_event_type {
 
 /**
  * @brief Enumeration for notification sound type.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  */
 typedef enum _notification_sound_type {
        NOTIFICATION_SOUND_TYPE_NONE = -1, /**< Default value. no sound */
@@ -106,7 +106,7 @@ typedef enum _notification_sound_type {
 
 /**
  * @brief Enumeration for notification vibration type.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  */
 typedef enum _notification_vibration_type {
        NOTIFICATION_VIBRATION_TYPE_NONE = -1, /**< Default value. No vibration */
@@ -117,7 +117,7 @@ typedef enum _notification_vibration_type {
 
 /**
  * @brief Enumeration for notification LED operation.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  */
 typedef enum _notification_led_op {
        NOTIFICATION_LED_OP_OFF = -1, /**< Default value. Disable the LED notification */
@@ -141,7 +141,7 @@ typedef enum _notification_count_display_type {
 
 /**
  * @brief Enumeration for button.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  */
 typedef enum _notification_button_index {
        NOTIFICATION_BUTTON_1 = 1, /**< button 1 */
@@ -159,7 +159,7 @@ typedef enum _notification_button_index {
 
 /**
  * @brief Enumeration for notification text type.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  */
 typedef enum _notification_text_type {
        NOTIFICATION_TEXT_TYPE_NONE = -1, /**< None */
@@ -194,7 +194,7 @@ typedef enum _notification_text_type {
 
 /**
  * @brief Enumeration for image type.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  */
 typedef enum _notification_image_type {
        NOTIFICATION_IMAGE_TYPE_NONE = -1, /**< None */
@@ -227,7 +227,7 @@ typedef enum _notification_image_type {
 
 /**
  * @brief Enumeration for application execution type.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  */
 typedef enum _notification_execute_type {
        NOTIFICATION_EXECUTE_TYPE_NONE = -1, /**< No operation */
@@ -239,7 +239,7 @@ typedef enum _notification_execute_type {
 
 /**
  * @brief Enumeration for notification type.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  */
 typedef enum _notification_type {
        NOTIFICATION_TYPE_NONE = -1, /**< None */
@@ -250,7 +250,7 @@ typedef enum _notification_type {
 
 /**
  * @brief Enumeration for Group ID.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  */
 enum _notification_group_id {
        NOTIFICATION_GROUP_ID_NONE = -1, /**< Not Grouping */
@@ -260,7 +260,7 @@ enum _notification_group_id {
 
 /**
  * @brief Enumeration for Private ID.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  */
 enum _notification_priv_id {
        NOTIFICATION_PRIV_ID_NONE = -1, /**< Internally set priv_id */
@@ -269,7 +269,7 @@ enum _notification_priv_id {
 
 /**
  * @brief Enumeration for notification property.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  */
 enum _notification_property {
        NOTIFICATION_PROP_DISPLAY_ONLY_SIMMODE = 0x00000001, /**< Display only SIM card inserted */
@@ -286,7 +286,7 @@ enum _notification_property {
 
 /**
  * @brief Enumeration for display application list.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  */
 enum _notification_display_applist {
        NOTIFICATION_DISPLAY_APP_NOTIFICATION_TRAY = 0x00000001, /**< Notification Tray(Quickpanel) */
@@ -300,7 +300,7 @@ enum _notification_display_applist {
 
 /**
  * @brief Enumeration for notification operation code.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  */
 typedef enum _notification_op_type {
        NOTIFICATION_OP_NONE = 0, /**< Default */
@@ -315,7 +315,7 @@ typedef enum _notification_op_type {
 
 /**
  * @brief Enumeration for notification operation data code.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  */
 typedef enum _notification_op_data_type {
        NOTIFICATION_OP_DATA_MIN = 0, /**< Default */
@@ -329,7 +329,7 @@ typedef enum _notification_op_data_type {
 
 /**
  * @brief Enumeration for notification count position in the text.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  */
 typedef enum _notifcation_count_pos_type {
        NOTIFICATION_COUNT_POS_NONE = -1, /**< Count data is not displaying in the text */
@@ -341,7 +341,7 @@ typedef enum _notifcation_count_pos_type {
 
 /**
  * @brief Enumeration for notification variable parameter type.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  */
 typedef enum _notification_variable_type {
        NOTIFICATION_VARIABLE_TYPE_NONE = -1, /**< Variable parameter type is NONE */
@@ -354,14 +354,14 @@ typedef enum _notification_variable_type {
 
 /**
  * @brief Notification handle.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  */
 typedef struct _notification *notification_h;
 
 
 /**
  * @brief The structure for notification operation.
- * @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
+ * @since_tizen 2.3
  */
 typedef struct _notification_op {
        notification_op_type_e type; /**< Notification operation type */
@@ -374,7 +374,7 @@ typedef struct _notification_op {
 
 /**
  * @brief Enumeration for permission.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  */
 typedef enum notification_permission_type {
        NOTIFICATION_PERMISSION_TYPE_NONE = 0, /**< None */