Update code style
authorHaifeng Deng <haifeng.deng@samsung.com>
Mon, 1 Apr 2013 03:20:06 +0000 (11:20 +0800)
committerJihoon Kim <jihoon48.kim@samsung.com>
Mon, 1 Apr 2013 04:35:09 +0000 (13:35 +0900)
Change-Id: I39dad14b22da02084e19cfb07edc34b43c70f92b

ism/extras/efl_panel/isf_panel_efl.cpp
ism/extras/gtk_panel/scim_panel_gtk.cpp
ism/src/isf_query_utility.h
ism/src/scim_module.cpp

index 65bb347..7196e7f 100644 (file)
@@ -98,7 +98,7 @@ extern std::vector<String>          _icons;
 extern std::vector<uint32>          _options;
 extern std::vector<TOOLBAR_MODE_T>  _modes;
 
-extern EAPI CommonLookupTable            g_isf_candidate_table;
+extern EAPI CommonLookupTable       g_isf_candidate_table;
 
 
 /////////////////////////////////////////////////////////////////////////////
@@ -3304,13 +3304,11 @@ static void start_default_ise (void)
             std::cerr << __FUNCTION__ << " Launch initial ISE(" << _initial_ise_uuid << ")\n";
             if (!set_active_ise (_initial_ise_uuid)) {
                 LOGE ("Failed to launch initial ISE (%s)\n", _initial_ise_uuid.c_str ());
-            }
-            else {
+            } else {
                 LOGD ("Succeed to launch initial ISE (%s)\n", _initial_ise_uuid.c_str ());
             }
         }
-    }
-    else {
+    } else {
         LOGD ("Succeed to launch default ISE (%s)\n", default_uuid.c_str ());
     }
 }
@@ -3766,8 +3764,7 @@ int main (int argc, char *argv [])
     if (!check_wm_ready ()) {
         std::cerr << "[ISF-PANEL-EFL] WM ready timeout\n";
         LOGE ("Window Manager ready timeout\n");
-    }
-    else {
+    } else {
         LOGD ("Window Manager is in ready state\n");
     }
 
index 3416676..b3e41f2 100644 (file)
@@ -145,7 +145,7 @@ extern std::vector < String >       _isf_app_list;
 extern gboolean                     _ise_list_changed;
 extern gboolean                     _setup_enable_changed;
 
-extern EAPI CommonLookupTable            g_isf_candidate_table;
+extern EAPI CommonLookupTable       g_isf_candidate_table;
 
 /////////////////////////////////////////////////////////////////////////////
 // Declaration of internal data types.
index bc18008..af65bab 100644 (file)
@@ -55,7 +55,7 @@ typedef struct {
 
 EAPI String isf_get_normalized_language (String src_str);
 EAPI String isf_combine_ise_info_string (String name, String uuid, String module, String language,
-                                    String icon, String mode, String option, String locales);
+                                         String icon, String mode, String option, String locales);
 EAPI void isf_get_ise_info_from_string (const char *str, ISEINFO &info);
 EAPI bool isf_read_ise_info_list (const char *filename, std::vector<ISEINFO> &info_list);
 EAPI bool isf_write_ise_info_list (const char *filename, std::vector<ISEINFO> &info_list);
index f1f7ef7..9fbe4c2 100644 (file)
@@ -103,8 +103,8 @@ scim_get_module_list (std::vector <String>& mod_list, const String& type)
                 String absfn = *i + String (SCIM_PATH_DELIM_STRING) + file->d_name;
                 stat (absfn.c_str (), &filestat);
                 if (S_ISREG (filestat.st_mode)) {
-                    String mod_name = String(file->d_name);
-                    mod_list.push_back (mod_name.substr(0, mod_name.find_last_of('.')));
+                    String mod_name = String (file->d_name);
+                    mod_list.push_back (mod_name.substr (0, mod_name.find_last_of ('.')));
                 }
                 file = readdir (dir);
             }
@@ -112,7 +112,7 @@ scim_get_module_list (std::vector <String>& mod_list, const String& type)
         }
     }
     std::sort (mod_list.begin (), mod_list.end ());
-    mod_list.erase (std::unique (mod_list.begin(), mod_list.end()), mod_list.end());
+    mod_list.erase (std::unique (mod_list.begin (), mod_list.end ()), mod_list.end ());
     return mod_list.size ();
 }