Fix API description 39/105239/2 accepted/tizen/3.0/common/20161221.180549 accepted/tizen/3.0/ivi/20161221.005144 accepted/tizen/3.0/mobile/20161221.005224 accepted/tizen/3.0/tv/20161221.004955 accepted/tizen/3.0/wearable/20161221.005044 submit/tizen_3.0/20161219.021225
authorseungha.son <seungha.son@samsung.com>
Fri, 16 Dec 2016 05:34:47 +0000 (14:34 +0900)
committerseungha.son <seungha.son@samsung.com>
Fri, 16 Dec 2016 06:37:36 +0000 (15:37 +0900)
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I7b4c1debebcce6fc493800eaf9d45f9cc93b5ff3

doc/badge_doc.h
include/badge.h

index 3bf9979..884f696 100755 (executable)
  *
  */
 
+
 /**
- *
- * @defgroup BADGE_MODULE Badge
  * @ingroup CAPI_APPLICATION_FRAMEWORK
- * @brief Badge APIs
- *
+ * @defgroup BADGE_MODULE Badge
+ * @brief Badge APIs.
  * @section BADGE_MODULE_HEADER Required Header
- *   \#include <badge.h>
+ * \#include <badge.h>
+ *
  * @section BADGE_MODULE_OVERVIEW Overview
  * It provides functions for creating and inserting and updating badge.
- *
  */
index 2eaf7d2..3fa95dc 100755 (executable)
@@ -55,14 +55,13 @@ extern "C" {
  * @par Sample code:
  * @code
 #include <badge.h>
-...
+
 {
        int err = BADGE_ERROR_NONE;
 
        err = badge_new(app_id);
-       if (err != BADGE_ERROR_NONE) {
+       if (err != BADGE_ERROR_NONE)
                return;
-       }
 
 }
  * @endcode
@@ -87,14 +86,13 @@ int badge_new(const char *writable_app_id) TIZEN_DEPRECATED_API;
  * @par Sample code:
  * @code
 #include <badge.h>
-...
+
 {
        int err = BADGE_ERROR_NONE;
 
        err = badge_add("org.tizen.email");
-       if (err != BADGE_ERROR_NONE) {
+       if (err != BADGE_ERROR_NONE)
                return;
-       }
 }
  * @endcode
  */
@@ -117,14 +115,13 @@ int badge_add(const char *badge_app_id);
  * @par Sample code:
  * @code
 #include <badge.h>
-...
+
 {
        int err = BADGE_ERROR_NONE;
 
        err = badge_remove(app_id);
-       if (err != BADGE_ERROR_NONE) {
+       if (err != BADGE_ERROR_NONE)
                return;
-       }
 
 }
  * @endcode
@@ -149,14 +146,13 @@ int badge_remove(const char *app_id);
  * @par Sample code:
  * @code
 #include <badge.h>
-...
+
 {
        int err = BADGE_ERROR_NONE;
 
        err = badge_set_count(app_id, 1);
-       if (err != BADGE_ERROR_NONE) {
+       if (err != BADGE_ERROR_NONE)
                return;
-       }
 
 }
  * @endcode
@@ -183,15 +179,14 @@ int badge_set_count(const char *app_id, unsigned int count);
  * @par Sample code:
  * @code
 #include <badge.h>
-...
+
 {
        int err = BADGE_ERROR_NONE;
        int count = 0;
 
        err = badge_get_count(app_id, &count);
-       if (err != BADGE_ERROR_NONE) {
+       if (err != BADGE_ERROR_NONE)
                return;
-       }
 
 }
  * @endcode
@@ -216,14 +211,13 @@ int badge_get_count(const char *app_id, unsigned int *count);
  * @par Sample code:
  * @code
 #include <badge.h>
-...
+
 {
        int err = BADGE_ERROR_NONE;
 
        err = badge_set_display(app_id, 1);
-       if (err != BADGE_ERROR_NONE) {
+       if (err != BADGE_ERROR_NONE)
                return;
-       }
 
 }
  * @endcode
@@ -251,16 +245,14 @@ int badge_set_display(const char *app_id, unsigned int is_display);
  * @par Sample code:
  * @code
 #include <badge.h>
-...
+
 {
        int is_display = 0;
        int err = BADGE_ERROR_NONE;
 
        err = badge_get_display(app_id, &is_display);
-       if (err != BADGE_ERROR_NONE) {
+       if (err != BADGE_ERROR_NONE)
                return;
-       }
-
 }
  * @endcode
  */