summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormk5004.lee <mk5004.lee@samsung.com>2019-01-09 04:50:25 (GMT)
committermk5004.lee <mk5004.lee@samsung.com>2019-01-09 08:27:26 (GMT)
commit141507aa0d18e567f32e1862355d3fad9ae6d640 (patch)
tree99f76546d1f732b610664502aaf9c8a21aaa0460
parent50fc02a1fe525d08b4aae5aa85bdefef958ee4a5 (diff)
downloadbadge-141507aa0d18e567f32e1862355d3fad9ae6d640.zip
badge-141507aa0d18e567f32e1862355d3fad9ae6d640.tar.gz
badge-141507aa0d18e567f32e1862355d3fad9ae6d640.tar.bz2
Check coding stylerefs/changes/41/197041/3
Change-Id: I8c4045ec44328ade245978fafbe7567dc0076a68 Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
-rw-r--r--include/badge.h26
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