diff options
author | Hyunho Kang <hhstark.kang@samsung.com> | 2016-03-28 12:18:00 +0900 |
---|---|---|
committer | Hyunho Kang <hhstark.kang@samsung.com> | 2016-03-28 14:51:07 +0900 |
commit | 57981a77b948372f0330b86f1e04e7cc6a36d74e (patch) | |
tree | b455a1ffa12fd65e0a8f88a76d45aac77079e29f /include | |
parent | e0b16910b2aedca53b932f863002a151df0f38c6 (diff) | |
download | badge-57981a77b948372f0330b86f1e04e7cc6a36d74e.tar.gz badge-57981a77b948372f0330b86f1e04e7cc6a36d74e.tar.bz2 badge-57981a77b948372f0330b86f1e04e7cc6a36d74e.zip |
Fix descriptions about API versionsubmit/tizen/20160328.051116accepted/tizen/wearable/20160328.115448accepted/tizen/tv/20160328.115332accepted/tizen/mobile/20160328.115311accepted/tizen/ivi/20160328.115602accepted/tizen/common/20160330.120059
Change-Id: I4665e4346dd715f4bf6d1748c9281cf06d54dc11
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Diffstat (limited to 'include')
-rwxr-xr-x | include/badge.h | 28 | ||||
-rwxr-xr-x | include/badge_internal.h | 10 |
2 files changed, 19 insertions, 19 deletions
diff --git a/include/badge.h b/include/badge.h index d021293..aa234c9 100755 --- a/include/badge.h +++ b/include/badge.h @@ -41,9 +41,9 @@ extern "C" { */ /** - * @deprecated Deprecated since 2.4 Use badge_add instead. + * @deprecated Deprecated since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif Use badge_add instead. * @brief Creates a badge for the application itself. - * @since_tizen 2.3 + * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * @privlevel public * @privilege %http://tizen.org/privilege/notification * @details Creates new badge to display. @@ -77,7 +77,7 @@ int badge_new(const char *writable_app_id); /** * @brief Creates a badge for the application specified by the badge_app_id. * @remarks Creating and updating a badge of the other application is allowed only when both applications are signed with the same certificate. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @privlevel public * @privilege %http://tizen.org/privilege/notification * @param[in] badge_app_id The id of the application for which the badge will be created. This parameter can be null when creating a badge for itself. @@ -107,7 +107,7 @@ int badge_add(const char *badge_app_id); /** * @brief Removes the badge for the designated application. - * @since_tizen 2.3 + * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * @privlevel public * @privilege %http://tizen.org/privilege/notification * @param[in] app_id The name of the designated application @@ -137,7 +137,7 @@ int badge_remove(const char *app_id); /** * @brief Sets badge count for the designated application. - * @since_tizen 2.3 + * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * @privlevel public * @privilege %http://tizen.org/privilege/notification * @param[in] app_id The name of the designated application @@ -169,7 +169,7 @@ int badge_set_count(const char *app_id, unsigned int count); /** * @brief Gets badge count for the designated application. - * @since_tizen 2.3 + * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * @privlevel public * @privilege %http://tizen.org/privilege/notification * @param[in] app_id The name of the designated application @@ -204,7 +204,7 @@ int badge_get_count(const char *app_id, unsigned int *count); /** * @brief Sets the display option for the designated application. - * @since_tizen 2.3 + * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * @privlevel public * @privilege %http://tizen.org/privilege/notification * @param[in] app_id The name of the designated application @@ -236,7 +236,7 @@ int badge_set_display(const char *app_id, unsigned int is_display); /** * @brief Gets the display option for the designated application. - * @since_tizen 2.3 + * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * @privlevel public * @privilege %http://tizen.org/privilege/notification * @param[in] app_id The name of the designated application @@ -272,7 +272,7 @@ int badge_get_display(const char *app_id, unsigned int *is_display); /** * @brief Callback function for getting result of badge_foreach. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @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 function @@ -285,7 +285,7 @@ typedef bool (*badge_foreach_cb)(const char *app_id, unsigned int count, void *u /** * @brief Retrieves all existing badges. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @privlevel public * @privilege %http://tizen.org/privilege/notification * @param[in] callback The callback function @@ -304,7 +304,7 @@ int badge_foreach(badge_foreach_cb callback, void *user_data); /** * @brief Enumeration for Badge Action. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ enum badge_action { BADGE_ACTION_CREATE = 0, /**< Badge created */ @@ -316,7 +316,7 @@ enum badge_action { /** * @brief Called when the badge information is changed. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @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 @@ -328,7 +328,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 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @privlevel public * @privilege %http://tizen.org/privilege/notification * @param[in] callback The callback function @@ -347,7 +347,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 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @privlevel public * @privilege %http://tizen.org/privilege/notification * @param[in] callback The callback function diff --git a/include/badge_internal.h b/include/badge_internal.h index 06e110b..44dfe52 100755 --- a/include/badge_internal.h +++ b/include/badge_internal.h @@ -51,7 +51,7 @@ typedef struct _badge_h badge_h; /** * @internal * @brief This function checks whether badge service is ready - * @since_tizen 2.3 + * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * @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. @@ -64,7 +64,7 @@ int badge_is_service_ready(void); /** * @internal * @brief This function adds deferred task. the registered task will be executed when badge service become ready - * @since_tizen 2.3 + * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * @privlevel public * @privilege %http://tizen.org/privilege/notification * @param[in] badge_add_deferred_task The callback function @@ -82,7 +82,7 @@ int badge_add_deferred_task( /** * @internal * @brief This function removes deferred task. - * @since_tizen 2.3 + * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * @privlevel public * @privilege %http://tizen.org/privilege/notification * @param[in] badge_add_deferred_task The callback function @@ -99,7 +99,7 @@ int badge_del_deferred_task( /** * @internal * @brief Tests if the badge for the designated application exists or not. - * @since_tizen 2.3 + * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * @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. - * @since_tizen 2.3 + * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * @privlevel public * @privilege %http://tizen.org/privilege/notification * @details Creates new badge to display. |