Fix some coding style
authorSangyoon Jang <jeremy.jang@samsung.com>
Mon, 11 May 2020 10:44:38 +0000 (19:44 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Mon, 25 May 2020 04:28:15 +0000 (13:28 +0900)
Change-Id: Ibd79148983c2687f36e4c5988fcd1423939718bc
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
src/theme/api/theme.cc
src/theme/api/theme_loader.cc
src/theme/api/theme_loader.h
src/unit_tests/test_theme_info.cc

index 6e2ee60..574c3a9 100644 (file)
@@ -69,4 +69,4 @@ int theme_clone(theme_h handle, theme_h *new_handle) {
 
 int theme_destroy(theme_h handle) {
     return 0;
-}
\ No newline at end of file
+}
index eea2303..fe35221 100644 (file)
 #include "theme/api/theme_loader.h"
 
 int theme_loader_create(theme_loader_h *handle) {
-    return 0;
+  return 0;
 }
 
 int theme_loader_destroy(theme_loader_h handle) {
-    return 0;
+  return 0;
 }
 
-theme_loader_event_h theme_loader_add_event(theme_loader_h handle, theme_loader_loaded_cb callback, void *data) {
-    return nullptr;
+theme_loader_event_h theme_loader_add_event(theme_loader_h handle,
+    theme_loader_loaded_cb callback, void *data) {
+  return nullptr;
 }
 
-int theme_loader_remove_event(theme_loader_h handle, theme_loader_event_h event_handle) {
-    return 0;
+int theme_loader_remove_event(theme_loader_h handle,
+    theme_loader_event_h event_handle) {
+  return 0;
 }
 
 int theme_loader_load_current(theme_loader_h handle) {
-    return 0;
+  return 0;
 }
 
 int theme_loader_load(theme_loader_h handle, const char *id) {
-    return 0;
+  return 0;
 }
 
 int theme_loader_query_id(theme_loader_h handle, char ***ids, int *count) {
-    return 0;
-}
\ No newline at end of file
+  return 0;
+}
index ad23957..a074180 100644 (file)
@@ -17,7 +17,7 @@
 #ifndef __TIZEN_THEME_MANAGER_THEME_LOADER_H__
 #define __TIZEN_THEME_MANAGER_THEME_LOADER_H__
 
-#include "theme.h"
+#include "theme/api/theme.h"
 
 #ifdef __cplusplus
 extern "C" {
@@ -33,9 +33,11 @@ int theme_loader_create(theme_loader_h *handle);
 
 int theme_loader_destroy(theme_loader_h handle);
 
-theme_loader_event_h theme_loader_add_event(theme_loader_h handle, theme_loader_loaded_cb callback, void *data);
+theme_loader_event_h theme_loader_add_event(theme_loader_h handle,
+    theme_loader_loaded_cb callback, void *data);
 
-int theme_loader_remove_event(theme_loader_h handle, theme_loader_event_h event_handle);
+int theme_loader_remove_event(theme_loader_h handle,
+    theme_loader_event_h event_handle);
 
 int theme_loader_load_current(theme_loader_h handle);
 
index bff08e1..be01b4d 100644 (file)
@@ -22,7 +22,7 @@
 
 #include "theme/loader/theme_info.h"
 
-using namespace ttm::loader;
+using ttm::loader::ThemeInfo;
 
 class ThemeInfoTest : public testing::Test {
  public:
@@ -33,7 +33,6 @@ class ThemeInfoTest : public testing::Test {
 
   virtual void TearDown() {
   }
-
 };
 
 TEST_F(ThemeInfoTest, ThemeInfo_GetId) {