diff options
Diffstat (limited to 'include/badge.h')
-rw-r--r-- | include/badge.h | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/include/badge.h b/include/badge.h index 225c12a..f321149 100644 --- a/include/badge.h +++ b/include/badge.h @@ -38,6 +38,18 @@ extern "C" { */ /** + * @brief Enumeration for Badge Action. + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + */ +enum badge_action { + BADGE_ACTION_CREATE = 0, /**< Badge created */ + BADGE_ACTION_REMOVE, /**< Badge removed */ + BADGE_ACTION_UPDATE, /**< Badge updated */ + BADGE_ACTION_CHANGED_DISPLAY, /**< The display option of the badge changed */ + BADGE_ACTION_SERVICE_READY, /**< The badge service is ready */ +}; + +/** * @deprecated Deprecated since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif Use badge_add instead. * @brief Creates a badge for the application itself. * @details Creates new badge to display. @@ -69,7 +81,6 @@ extern "C" { */ 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 @@ -103,7 +114,6 @@ int badge_new(const char *writable_app_id) TIZEN_DEPRECATED_API; */ 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 @@ -316,18 +326,6 @@ typedef bool (*badge_foreach_cb)(const char *app_id, unsigned int count, void *u int badge_foreach(badge_foreach_cb callback, void *user_data); /** - * @brief Enumeration for Badge Action. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif - */ -enum badge_action { - BADGE_ACTION_CREATE = 0, /**< Badge created */ - BADGE_ACTION_REMOVE, /**< Badge removed */ - BADGE_ACTION_UPDATE, /**< Badge updated */ - BADGE_ACTION_CHANGED_DISPLAY, /**< The display option of the badge changed */ - BADGE_ACTION_SERVICE_READY, /**< The badge service is ready */ -}; - -/** * @brief Called when the badge information is changed. * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @param[in] action The type of the change. Refer #badge_action |