Adjust coding rule in header descriptions 83/87183/1 accepted/tizen/3.0/ivi/20161011.053543 accepted/tizen/3.0/mobile/20161015.032336 accepted/tizen/3.0/tv/20161016.003523 accepted/tizen/3.0/wearable/20161015.080402 accepted/tizen/common/20160912.181400 accepted/tizen/common/20160919.154756 accepted/tizen/ivi/20160920.051925 accepted/tizen/mobile/20160920.051832 accepted/tizen/tv/20160920.051846 accepted/tizen/wearable/20160920.051907 submit/tizen/20160912.053645 submit/tizen/20160919.100356 submit/tizen_3.0_ivi/20161010.000000 submit/tizen_3.0_ivi/20161010.000010 submit/tizen_3.0_mobile/20161015.000000 submit/tizen_3.0_tv/20161015.000000 submit/tizen_3.0_wearable/20161015.000000
authorseungha.son <seungha.son@samsung.com>
Wed, 7 Sep 2016 00:11:54 +0000 (09:11 +0900)
committerseungha.son <seungha.son@samsung.com>
Wed, 7 Sep 2016 00:12:31 +0000 (09:12 +0900)
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: Ifdb97435dc5c4299be1111a9064768f1527b2e2c

include/badge.h
include/badge_internal.h

index 7414de0..db114e6 100755 (executable)
@@ -65,7 +65,7 @@ extern "C" {
        int err = BADGE_ERROR_NONE;
 
        err = badge_new(app_id);
-       if(err != BADGE_ERROR_NONE) {
+       if (err != BADGE_ERROR_NONE) {
                return;
        }
 
@@ -97,7 +97,7 @@ int badge_new(const char *writable_app_id) TIZEN_DEPRECATED_API;
        int err = BADGE_ERROR_NONE;
 
        err = badge_add("org.tizen.email");
-       if(err != BADGE_ERROR_NONE) {
+       if (err != BADGE_ERROR_NONE) {
                return;
        }
 }
@@ -127,7 +127,7 @@ int badge_add(const char *badge_app_id);
        int err = BADGE_ERROR_NONE;
 
        err = badge_remove(app_id);
-       if(err != BADGE_ERROR_NONE) {
+       if (err != BADGE_ERROR_NONE) {
                return;
        }
 
@@ -159,7 +159,7 @@ int badge_remove(const char *app_id);
        int err = BADGE_ERROR_NONE;
 
        err = badge_set_count(app_id, 1);
-       if(err != BADGE_ERROR_NONE) {
+       if (err != BADGE_ERROR_NONE) {
                return;
        }
 
@@ -194,7 +194,7 @@ int badge_set_count(const char *app_id, unsigned int count);
        int count = 0;
 
        err = badge_get_count(app_id, &count);
-       if(err != BADGE_ERROR_NONE) {
+       if (err != BADGE_ERROR_NONE) {
                return;
        }
 
@@ -226,7 +226,7 @@ int badge_get_count(const char *app_id, unsigned int *count);
        int err = BADGE_ERROR_NONE;
 
        err = badge_set_display(app_id, 1);
-       if(err != BADGE_ERROR_NONE) {
+       if (err != BADGE_ERROR_NONE) {
                return;
        }
 
@@ -262,7 +262,7 @@ int badge_set_display(const char *app_id, unsigned int is_display);
        int err = BADGE_ERROR_NONE;
 
        err = badge_get_display(app_id, &is_display);
-       if(err != BADGE_ERROR_NONE) {
+       if (err != BADGE_ERROR_NONE) {
                return;
        }
 
index c007cb0..c140944 100755 (executable)
@@ -129,7 +129,7 @@ int badge_del_deferred_task(
        bool exist;
 
        err = badge_is_existing(app_id, &exist);
-       if(err != BADGE_ERROR_NONE) {
+       if (err != BADGE_ERROR_NONE) {
                return;
        }
 
@@ -195,7 +195,7 @@ void badge_changed_cb_call(unsigned int action, const char *pkgname,
        int err = BADGE_ERROR_NONE;
 
        err = badge_create("org.tizen.sms", "org.tizen.sms2");
-       if(err != BADGE_ERROR_NONE) {
+       if (err != BADGE_ERROR_NONE) {
                return;
        }