fix coding rule error 13/149713/3
authorYoungjae Shin <yj99.shin@samsung.com>
Wed, 13 Sep 2017 02:44:13 +0000 (11:44 +0900)
committerHwanKyu Jhun <h.jhun@samsung.com>
Wed, 13 Sep 2017 02:51:37 +0000 (02:51 +0000)
Change-Id: Ic31137b23f0fa0104f155871a9440ba38400c204

include/widget_service.h
include/widget_service_internal.h
src/widget_service.c

index e4df18d..4c9314a 100644 (file)
@@ -64,14 +64,14 @@ typedef enum widget_size_type {
  * @since_tizen 2.3.1
  */
 typedef enum widget_event_type {
-    WIDGET_EVENT_WIDGET_UPDATED = 0, /**< Contents of the given widget is updated */
-    WIDGET_EVENT_WIDGET_EXTRA_UPDATED = 1,
-    WIDGET_EVENT_CREATED = 4, /**< A new widget is created */
-    WIDGET_EVENT_DELETED = 5, /**< A widget is deleted */
-    WIDGET_EVENT_PERIOD_CHANGED = 8, /**< Update period is changed */
-    WIDGET_EVENT_WIDGET_SIZE_CHANGED = 9, /**< widget size is changed */
-    WIDGET_EVENT_EXTRA_INFO_UPDATED = 21, /**< Extra information is updated */
-    WIDGET_EVENT_IGNORED = 0xFF /**< Request is ignored */
+       WIDGET_EVENT_WIDGET_UPDATED = 0, /**< Contents of the given widget is updated */
+       WIDGET_EVENT_WIDGET_EXTRA_UPDATED = 1,
+       WIDGET_EVENT_CREATED = 4, /**< A new widget is created */
+       WIDGET_EVENT_DELETED = 5, /**< A widget is deleted */
+       WIDGET_EVENT_PERIOD_CHANGED = 8, /**< Update period is changed */
+       WIDGET_EVENT_WIDGET_SIZE_CHANGED = 9, /**< widget size is changed */
+       WIDGET_EVENT_EXTRA_INFO_UPDATED = 21, /**< Extra information is updated */
+       WIDGET_EVENT_IGNORED = 0xFF /**< Request is ignored */
 } widget_event_type_e;
 
 
@@ -138,9 +138,9 @@ extern int widget_service_get_size_type(int width, int height, widget_size_type_
 /**
  * @brief Gets the need of mouse event for the given widget.
  * @details This function gets need of mouse event for the given widget from database.\n
- *             The value of mouse event requirement means: \n
- *                 true : The widget requires mouse event. A viewer must feed the mouse event to the widget instance.\n
- *                 false : The widget doesn't require mouse event.\n
+ *          The value of mouse event requirement means: \n
+ *          true : The widget requires mouse event. A viewer must feed the mouse event to the widget instance.\n
+ *          false : The widget doesn't require mouse event.\n
  * @since_tizen 2.3.1
  * @privlevel public
  * @privilege %http://tizen.org/privilege/widget.viewer
index 98522e8..60f4234 100644 (file)
@@ -277,22 +277,22 @@ typedef struct widget_list_handle *widget_list_h;
 
 /* widget_status_e will be replaced with widget_error_e */
 typedef enum widget_status  {
-    WIDGET_STATUS_ERROR_NONE = TIZEN_ERROR_NONE,
-    WIDGET_STATUS_ERROR = TIZEN_ERROR_WIDGET,
-    WIDGET_STATUS_ERROR_INVALID_PARAMETER = WIDGET_STATUS_ERROR | 0x0001,
-    WIDGET_STATUS_ERROR_FAULT = WIDGET_STATUS_ERROR | 0x0002,
-    WIDGET_STATUS_ERROR_OUT_OF_MEMORY = WIDGET_STATUS_ERROR | 0x0004,
-    WIDGET_STATUS_ERROR_EXIST = WIDGET_STATUS_ERROR | 0x0008,
-    WIDGET_STATUS_ERROR_BUSY = WIDGET_STATUS_ERROR | 0x0010,
-    WIDGET_STATUS_ERROR_PERMISSION_DENIED = WIDGET_STATUS_ERROR | 0x0020,
-    WIDGET_STATUS_ERROR_ALREADY = WIDGET_STATUS_ERROR | 0x0040,
-    WIDGET_STATUS_ERROR_CANCEL = WIDGET_STATUS_ERROR | 0x0080,
-    WIDGET_STATUS_ERROR_IO_ERROR = WIDGET_STATUS_ERROR | 0x0100,
-    WIDGET_STATUS_ERROR_NOT_EXIST = WIDGET_STATUS_ERROR | 0x0200,
-    WIDGET_STATUS_ERROR_TIMEOUT = WIDGET_STATUS_ERROR | 0x0400,
-    WIDGET_STATUS_ERROR_NOT_IMPLEMENTED = WIDGET_STATUS_ERROR | 0x0800,
-    WIDGET_STATUS_ERROR_NO_SPACE = WIDGET_STATUS_ERROR | 0x1000,
-    WIDGET_STATUS_ERROR_DISABLED = WIDGET_STATUS_ERROR | 0x2000
+       WIDGET_STATUS_ERROR_NONE = TIZEN_ERROR_NONE,
+       WIDGET_STATUS_ERROR = TIZEN_ERROR_WIDGET,
+       WIDGET_STATUS_ERROR_INVALID_PARAMETER = WIDGET_STATUS_ERROR | 0x0001,
+       WIDGET_STATUS_ERROR_FAULT = WIDGET_STATUS_ERROR | 0x0002,
+       WIDGET_STATUS_ERROR_OUT_OF_MEMORY = WIDGET_STATUS_ERROR | 0x0004,
+       WIDGET_STATUS_ERROR_EXIST = WIDGET_STATUS_ERROR | 0x0008,
+       WIDGET_STATUS_ERROR_BUSY = WIDGET_STATUS_ERROR | 0x0010,
+       WIDGET_STATUS_ERROR_PERMISSION_DENIED = WIDGET_STATUS_ERROR | 0x0020,
+       WIDGET_STATUS_ERROR_ALREADY = WIDGET_STATUS_ERROR | 0x0040,
+       WIDGET_STATUS_ERROR_CANCEL = WIDGET_STATUS_ERROR | 0x0080,
+       WIDGET_STATUS_ERROR_IO_ERROR = WIDGET_STATUS_ERROR | 0x0100,
+       WIDGET_STATUS_ERROR_NOT_EXIST = WIDGET_STATUS_ERROR | 0x0200,
+       WIDGET_STATUS_ERROR_TIMEOUT = WIDGET_STATUS_ERROR | 0x0400,
+       WIDGET_STATUS_ERROR_NOT_IMPLEMENTED = WIDGET_STATUS_ERROR | 0x0800,
+       WIDGET_STATUS_ERROR_NO_SPACE = WIDGET_STATUS_ERROR | 0x1000,
+       WIDGET_STATUS_ERROR_DISABLED = WIDGET_STATUS_ERROR | 0x2000
 } widget_status_e;
 
 #if !defined(__WIDGET_EVENT_INFO_IS_DEFINED)
@@ -332,14 +332,14 @@ typedef struct widget_event_info {
  * @see #widget_event_info_s
  */
 typedef struct widget_text_signal {
-    const char *signal_name;    /**< A name of a text signal */
-    const char *source;         /**< A source name of this text signal */
-    struct {
-        double sx;              /**< X-axis value of left-top corner for this text signal */
-        double sy;              /**< Y-axis value of left-top corner for this text signal */
-        double ex;              /**< X-axis value of right-bottom corner for this text signal */
-        double ey;              /**< Y-axis value of right-bottom corner for this text signal  */
-    } geometry;                 /**< Region information of this text signal */
+       const char *signal_name;    /**< A name of a text signal */
+       const char *source;         /**< A source name of this text signal */
+       struct {
+               double sx;              /**< X-axis value of left-top corner for this text signal */
+               double sy;              /**< Y-axis value of left-top corner for this text signal */
+               double ex;              /**< X-axis value of right-bottom corner for this text signal */
+               double ey;              /**< Y-axis value of right-bottom corner for this text signal  */
+       } geometry;                 /**< Region information of this text signal */
 } *widget_text_signal_s;
 
 /**
index ffa667b..603be91 100644 (file)
@@ -1584,9 +1584,8 @@ static char *__get_cur_locale(void)
                                break;
                        }
 
-                       if (*ptr == '_') {
+                       if (*ptr == '_')
                                *ptr = '-';
-                       }
 
                        ptr++;
                }