diff options
author | Changgyu Choi <changyu.choi@samsung.com> | 2024-02-16 14:05:19 +0900 |
---|---|---|
committer | Changgyu Choi <changyu.choi@samsung.com> | 2024-02-16 14:05:19 +0900 |
commit | 2e9481c7f097d5ea4ac504e995cc90175d5ef1b6 (patch) | |
tree | 23771acca6536ec9c45c04815d187e6894ff788b | |
parent | 0b6bb381520f2827298cad13c20e3dbaea586fc1 (diff) | |
download | notification-2e9481c7f097d5ea4ac504e995cc90175d5ef1b6.tar.gz notification-2e9481c7f097d5ea4ac504e995cc90175d5ef1b6.tar.bz2 notification-2e9481c7f097d5ea4ac504e995cc90175d5ef1b6.zip |
Remove conditional statements for Moible/Wearable profile
Change-Id: I631a0cc9f699596c22504bd389e4e39e93fe93ec
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
-rw-r--r-- | notification/include/notification.h | 94 | ||||
-rw-r--r-- | notification/include/notification_error.h | 4 | ||||
-rw-r--r-- | notification/include/notification_internal.h | 14 | ||||
-rw-r--r-- | notification/include/notification_list.h | 22 | ||||
-rw-r--r-- | notification/include/notification_ongoing.h | 6 | ||||
-rw-r--r-- | notification/include/notification_ongoing_flag.h | 4 | ||||
-rw-r--r-- | notification/include/notification_setting.h | 6 | ||||
-rw-r--r-- | notification/include/notification_setting_internal.h | 2 | ||||
-rw-r--r-- | notification/include/notification_status.h | 2 | ||||
-rw-r--r-- | notification/include/notification_status_internal.h | 8 | ||||
-rw-r--r-- | notification/include/notification_text_domain.h | 4 | ||||
-rw-r--r-- | notification/include/notification_type.h | 46 |
12 files changed, 106 insertions, 106 deletions
diff --git a/notification/include/notification.h b/notification/include/notification.h index 5a66366..dcc1534 100644 --- a/notification/include/notification.h +++ b/notification/include/notification.h @@ -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 diff --git a/notification/include/notification_error.h b/notification/include/notification_error.h index 91f768d..f979ccf 100644 --- a/notification/include/notification_error.h +++ b/notification/include/notification_error.h @@ -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 */ diff --git a/notification/include/notification_internal.h b/notification/include/notification_internal.h index 01080cc..c5fef25 100644 --- a/notification/include/notification_internal.h +++ b/notification/include/notification_internal.h @@ -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 diff --git a/notification/include/notification_list.h b/notification/include/notification_list.h index 2b148e7..4961fc4 100644 --- a/notification/include/notification_list.h +++ b/notification/include/notification_list.h @@ -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 diff --git a/notification/include/notification_ongoing.h b/notification/include/notification_ongoing.h index fa6e95a..2de8bca 100644 --- a/notification/include/notification_ongoing.h +++ b/notification/include/notification_ongoing.h @@ -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 diff --git a/notification/include/notification_ongoing_flag.h b/notification/include/notification_ongoing_flag.h index 384c575..0b3997e 100644 --- a/notification/include/notification_ongoing_flag.h +++ b/notification/include/notification_ongoing_flag.h @@ -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, diff --git a/notification/include/notification_setting.h b/notification/include/notification_setting.h index 9186cd6..fcf021b 100644 --- a/notification/include/notification_setting.h +++ b/notification/include/notification_setting.h @@ -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 diff --git a/notification/include/notification_setting_internal.h b/notification/include/notification_setting_internal.h index 951d4d3..09e2d8f 100644 --- a/notification/include/notification_setting_internal.h +++ b/notification/include/notification_setting_internal.h @@ -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 diff --git a/notification/include/notification_status.h b/notification/include/notification_status.h index b8ff7d1..e559248 100644 --- a/notification/include/notification_status.h +++ b/notification/include/notification_status.h @@ -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 diff --git a/notification/include/notification_status_internal.h b/notification/include/notification_status_internal.h index a70fa2e..71a6ab7 100644 --- a/notification/include/notification_status_internal.h +++ b/notification/include/notification_status_internal.h @@ -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 diff --git a/notification/include/notification_text_domain.h b/notification/include/notification_text_domain.h index f8c36d8..5fe856a 100644 --- a/notification/include/notification_text_domain.h +++ b/notification/include/notification_text_domain.h @@ -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 diff --git a/notification/include/notification_type.h b/notification/include/notification_type.h index 61010cf..00162b0 100644 --- a/notification/include/notification_type.h +++ b/notification/include/notification_type.h @@ -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 */ |