diff options
author | Changgyu Choi <changyu.choi@samsung.com> | 2024-02-16 14:06:28 +0900 |
---|---|---|
committer | Changgyu Choi <changyu.choi@samsung.com> | 2024-02-16 14:06:28 +0900 |
commit | 0b8867798223dddac3732f4675775bd79577413a (patch) | |
tree | a6da81b712aedef8b5ff404a4c4436d44a556d64 | |
parent | ea5bd36ce41be427c711b3d82e4cbd34a90e6112 (diff) | |
download | badge-0b8867798223dddac3732f4675775bd79577413a.tar.gz badge-0b8867798223dddac3732f4675775bd79577413a.tar.bz2 badge-0b8867798223dddac3732f4675775bd79577413a.zip |
Remove conditional statements for Moible/Wearable profile
Change-Id: I0d3aa4ea417bd9df1b3e72e8aa3ac42236e82834
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
-rw-r--r-- | include/badge.h | 28 | ||||
-rw-r--r-- | include/badge_error.h | 2 | ||||
-rw-r--r-- | include/badge_internal.h | 10 |
3 files changed, 20 insertions, 20 deletions
diff --git a/include/badge.h b/include/badge.h index 0e1c249..6fb53f0 100644 --- a/include/badge.h +++ b/include/badge.h @@ -39,7 +39,7 @@ extern "C" { /** * @brief Enumeration for Badge Action. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 */ enum badge_action { BADGE_ACTION_CREATE = 0, /**< Badge created */ @@ -50,10 +50,10 @@ enum badge_action { }; /** - * @deprecated Deprecated since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif. Use badge_add() instead. + * @deprecated Deprecated since 2.4. Use badge_add() instead. * @brief Creates a badge for the application itself. * @details Creates new badge to display. - * @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] writable_app_id The id of application which is authorized to change the badge @@ -83,7 +83,7 @@ int badge_new(const char *writable_app_id) TIZEN_DEPRECATED_API; /** * @brief Creates a badge for the application specified by the badge_app_id. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/notification * @remarks Creating and updating a badge of the other application is allowed only when both applications are signed with the same certificate. @@ -116,7 +116,7 @@ int badge_add(const char *badge_app_id); /** * @brief Removes the badge for the designated application. - * @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] app_id The name of the designated application @@ -149,7 +149,7 @@ int badge_remove(const char *app_id); /** * @brief Sets badge count for the designated application. - * @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] app_id The name of the designated application @@ -184,7 +184,7 @@ int badge_set_count(const char *app_id, unsigned int count); /** * @brief Gets badge count for the designated application. - * @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] app_id The name of the designated application @@ -221,7 +221,7 @@ int badge_get_count(const char *app_id, unsigned int *count); /** * @brief Sets the display option for the designated application. - * @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] app_id The name of the designated application @@ -256,7 +256,7 @@ int badge_set_display(const char *app_id, unsigned int is_display); /** * @brief Gets the display option for the designated application. - * @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] app_id The name of the designated application @@ -292,7 +292,7 @@ int badge_get_display(const char *app_id, unsigned int *is_display); /** * @brief Callback function for getting result of badge_foreach(). - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @param[in] app_id The id of the application * @param[in] count The count of the badge * @param[in] user_data The user data passed from the badge_foreach() @@ -305,7 +305,7 @@ typedef bool (*badge_foreach_cb)(const char *app_id, unsigned int count, void *u /** * @brief Retrieves all existing badges. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/notification * @param[in] callback The callback function @@ -327,7 +327,7 @@ int badge_foreach(badge_foreach_cb callback, void *user_data); /** * @brief Called when the badge information is changed. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @param[in] action The type of the change. Refer #badge_action * @param[in] app_id The name of the application * @param[in] count The count of the badge @@ -339,7 +339,7 @@ typedef void (*badge_change_cb)(unsigned int action, const char *app_id, unsigned int count, void *user_data); /** * @brief Registers a callback function to receive badge change event. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/notification * @remarks Should be used in the homescreen.\n @@ -363,7 +363,7 @@ int badge_register_changed_cb(badge_change_cb callback, void *user_data); /** * @brief Unregisters a callback function to receive badge change event. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/notification * @param[in] callback The callback function diff --git a/include/badge_error.h b/include/badge_error.h index feeb567..fb823bf 100644 --- a/include/badge_error.h +++ b/include/badge_error.h @@ -37,7 +37,7 @@ extern "C" { /** * @brief Enumeration for Badge Error. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef enum _badge_error_e { BADGE_ERROR_NONE = TIZEN_ERROR_NONE, /**< Success */ diff --git a/include/badge_internal.h b/include/badge_internal.h index b4876f7..1d9b576 100644 --- a/include/badge_internal.h +++ b/include/badge_internal.h @@ -51,7 +51,7 @@ typedef struct badge_info { /** * @internal * @brief Checks whether badge service is ready. - * @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 specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section. @@ -65,7 +65,7 @@ int badge_is_service_ready(void); /** * @internal * @brief Adds deferred task. The registered task will be executed when badge service become ready. - * @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] badge_add_deferred_task The callback function @@ -84,7 +84,7 @@ int badge_add_deferred_task( /** * @internal * @brief Removes deferred task. - * @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] badge_add_deferred_task The callback function @@ -102,7 +102,7 @@ int badge_del_deferred_task( /** * @internal * @brief Tests if the badge for the designated application exists or not. - * @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] app_id The name of the designated application @@ -172,7 +172,7 @@ void badge_changed_cb_call(unsigned int action, const char *pkgname, * @internal * @brief Creates a badge for the designated package. * @details Creates new badge to display. - * @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] pkgname The name of the designated package |