common: apply Tizen Coding Rule 61/64361/2
authorTaeyoung Kim <ty317.kim@samsung.com>
Thu, 31 Mar 2016 23:53:07 +0000 (08:53 +0900)
committerTaeyoung Kim <ty317.kim@samsung.com>
Fri, 1 Apr 2016 00:40:00 +0000 (17:40 -0700)
- The positions of the braces are changed

Change-Id: I9e907e6fa8203089d8824d193d03f9cd2e0793c1
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
include/battery.h
include/callback.h
include/device-error.h
include/device.h
include/power.h

index 6692181..1173df4 100755 (executable)
@@ -35,8 +35,7 @@ extern "C" {
  * @brief Enumeration for the battery level status.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  */
-typedef enum
-{
+typedef enum {
     DEVICE_BATTERY_LEVEL_EMPTY = 0,  /**< The battery goes empty. Prepare for the safe termination of the application, because the device starts a shutdown process soon after entering this level. */
     DEVICE_BATTERY_LEVEL_CRITICAL,   /**< The battery charge is at a critical state. You may have to stop using multimedia features, because they are not guaranteed to work correctly at this battery status. */
     DEVICE_BATTERY_LEVEL_LOW,        /**< The battery has little charge left. */
index 1a7ee5d..91d207d 100755 (executable)
@@ -35,8 +35,7 @@ extern "C" {
  * @brief Enumeration for the device state callback.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  */
-typedef enum
-{
+typedef enum {
     DEVICE_CALLBACK_BATTERY_CAPACITY,    /**< Called when a battery charge percentage is changed */
     DEVICE_CALLBACK_BATTERY_LEVEL,       /**< Called when a battery level is changed */
     DEVICE_CALLBACK_BATTERY_CHARGING,    /**< Called when battery charging state is changed */
index 6cbe279..4fdd358 100755 (executable)
@@ -34,8 +34,7 @@ extern "C" {
  * @brief Enumerations of error code for Device.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  */
-typedef enum
-{
+typedef enum {
        DEVICE_ERROR_NONE                = TIZEN_ERROR_NONE,                /**< Successful */
        DEVICE_ERROR_OPERATION_FAILED    = TIZEN_ERROR_NOT_PERMITTED,       /**< Operation not permitted */
        DEVICE_ERROR_PERMISSION_DENIED   = TIZEN_ERROR_PERMISSION_DENIED,   /**< Permission denied */
index efbc83e..9969ed9 100755 (executable)
@@ -36,8 +36,7 @@ extern "C" {
 /**
  * @brief Enumerations of the battery warning status
  */
-typedef enum
-{
+typedef enum {
     DEVICE_BATTERY_WARN_EMPTY,      /**< The battery goes empty. Prepare for the safe termination of the application, because the device starts a shutdown process soon after entering this level. */
     DEVICE_BATTERY_WARN_CRITICAL,  /**< The battery charge is at a critical state. You may have to stop using multimedia features, because they are not guaranteed to work correctly at this battery status. */
     DEVICE_BATTERY_WARN_LOW,       /**< The battery has little charge left. */
@@ -48,8 +47,7 @@ typedef enum
 /**
  * @brief Enumerations of the battery remaining time type
  */
-typedef enum
-{
+typedef enum {
     DEVICE_BATTERY_REMAINING_TIME_TO_FULLY_CHARGED,
     DEVICE_BATTERY_REMAINING_TIME_TO_DISCHARGED
 } device_battery_remaining_time_type_e;
@@ -57,8 +55,7 @@ typedef enum
 /**
  * @brief Enumerations of the battery level status
  */
-typedef enum
-{
+typedef enum {
     DEVICE_BATTERY_LEVEL_EMPTY = 0,      /**< The battery goes empty. Prepare for the safe termination of the application, because the device starts a shutdown process soon after entering this level. */
     DEVICE_BATTERY_LEVEL_CRITICAL,  /**< The battery charge is at a critical state. You may have to stop using multimedia features, because they are not guaranteed to work correctly at this battery status. */
     DEVICE_BATTERY_LEVEL_LOW,       /**< The battery has little charge left. */
index dc6790d..02cd8aa 100755 (executable)
@@ -54,8 +54,7 @@ extern "C" {
  * @remarks You cannot combine with an enum below.
  *
  */
-typedef enum
-{
+typedef enum {
     POWER_LOCK_CPU,         /**< CPU lock */
     POWER_LOCK_DISPLAY,     /**< Display normal lock (Deprecated since 2.4. Use efl_util_set_window_screen_mode() instead) */
     POWER_LOCK_DISPLAY_DIM, /**< Display dim lock (Deprecated since 2.4. Use efl_util_set_window_screen_mode() instead) */