clean up code. 28/67828/2
authorHermet Park <hermet@hermet.pe.kr>
Thu, 28 Apr 2016 11:46:55 +0000 (20:46 +0900)
committerHermet Park <hermet@hermet.pe.kr>
Thu, 28 Apr 2016 11:52:08 +0000 (20:52 +0900)
This is first step for sorting up public interfaces.

no logic changes.

Change-Id: I9404aaeeb33441123f41f32baddf2ca3cfe0cec9

33 files changed:
packaging/ui-viewmgr.spec
src/examples/efl/main.h
src/include/CMakeLists.txt
src/include/efl/mobile/ui_app.h
src/include/efl/mobile/ui_key_listener.h
src/include/efl/mobile/ui_menu.h
src/include/efl/mobile/ui_mobile_viewmanager.h [new file with mode: 0644]
src/include/efl/mobile/ui_popup.h
src/include/efl/mobile/ui_view.h
src/include/efl/mobile/ui_viewmanager.h [deleted file]
src/include/efl/mobile/ui_viewmgr.h
src/include/efl/ui_base_key_listener.h
src/include/efl/ui_base_overlay.h
src/include/efl/ui_base_view.h
src/include/efl/ui_base_viewmanager.h
src/include/efl/ui_base_viewmgr.h
src/include/interface/ui_iface_overlay.h
src/include/interface/ui_iface_rotatable.h
src/include/interface/ui_iface_singleton.h
src/include/interface/ui_iface_view.h
src/include/interface/ui_iface_viewmanager.h
src/include/interface/ui_iface_viewmgr.h
src/include/ui_viewmanager.h
src/lib/efl/mobile/ui_app.cpp
src/lib/efl/mobile/ui_key_listener.cpp
src/lib/efl/mobile/ui_menu.cpp
src/lib/efl/mobile/ui_popup.cpp
src/lib/efl/mobile/ui_view.cpp
src/lib/efl/mobile/ui_viewmgr.cpp
src/lib/efl/ui_base_key_listener.cpp
src/lib/efl/ui_base_overlay.cpp
src/lib/efl/ui_base_view.cpp
src/lib/efl/ui_base_viewmgr.cpp

index cafb173323d001357f718ba534f4f75369f820b8..6f4fde9e642d9b66b09dc7ddbba6028d21cae965 100644 (file)
@@ -66,9 +66,9 @@ cp %{_builddir}/%{buildsubdir}/LICENSE %{buildroot}/usr/share/license/%{name}
 
 %files devel
 %defattr(-,root,root,-)
+%{_includedir}/ui-viewmgr/*.h
 %{_includedir}/ui-viewmgr/interface/*.h
 %{_includedir}/ui-viewmgr/efl/*.h
 %{_includedir}/ui-viewmgr/efl/mobile/*.h
-%{_includedir}/ui-viewmgr/*.h
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/ui-viewmgr.pc
index 8b8b45cfc766254d7eee32115b17dd0d9544a16d..019651a9fa2551b64b22cb1713499b25810d5584 100644 (file)
@@ -15,7 +15,7 @@
  *
  */
 #include <dlog.h>
-#include "ui_viewmanager.h"
+#include <ui_viewmanager.h>
 
 //uncomment if you want debug
 #ifndef TIZEN_ENGINEER_MODE
@@ -31,8 +31,6 @@
 #define PACKAGE "ui-viewmgr"
 #endif
 
-using namespace efl_viewmgr;
-
 Evas_Object *create_landscape_content(Evas_Object *parent, const char *text, Evas_Smart_Cb prev_btn_clicked_cb, Evas_Smart_Cb next_btn_clicked_cb);
 Evas_Object *create_content(Evas_Object *parent, const char *text, Evas_Smart_Cb prev_btn_clicked_cb, Evas_Smart_Cb next_btn_clicked_cb);
 Evas_Object *create_scrolling_content(Evas_Object *parent);
index d45646b4bf6a257c1497d7766e7bc7c34cb436ab..1b56e6c5a371800a795d8f7eef186eb43312c956 100644 (file)
@@ -4,6 +4,6 @@ INSTALL(
         PATTERN "interface/*.h"
         PATTERN "efl/*.h"
         PATTERN "efl/mobile/*.h"
-        PATTERN "ui_viewmanager.h"
+        PATTERN "*.h"
         )
 
index 880dcd57c3da5d48cceb63e6804ce89ef55b7b96..78f036176b224559a05362a02602ca69b864f1a9 100644 (file)
  *  limitations under the License.
  *
  */
-#ifndef UI_APP_H
-#define UI_APP_H
+#ifndef _UI_APP_H_
+#define _UI_APP_H_
 
-#include "../ui_base_viewmanager.h"
-
-namespace efl_viewmgr
+namespace efl_viewmanager
 {
 
 class ui_viewmgr;
 
-class ui_app : public viewmgr::singleton<ui_app>
+class ui_app : public singleton<ui_app>
 {
 private:
        ui_viewmgr *viewmgr;
@@ -53,4 +51,4 @@ public:
 
 }
 
-#endif /* UI_APP_H */
+#endif /* _UI_APP_H_ */
index 9d96066475a85f002ebd9fe5a746e0fd14fc35d4..94fd96e2c44d3b9c97716fe51a270354371c25a7 100644 (file)
  *  limitations under the License.
  *
  */
-#ifndef UI_KEY_HANDLER_H
-#define UI_KEY_HANDLER_H
+#ifndef _UI_KEY_LISTENER_H_
+#define _UI_KEY_LISTENER_H_
 
-#include "../ui_base_viewmanager.h"
-
-namespace efl_viewmgr
+namespace efl_viewmanager
 {
 class ui_viewmgr;
 
@@ -34,4 +32,4 @@ public:
 
 }
 
-#endif /* UI_KEY_HANDLER_H */
+#endif /* _UI_KEY_LISTENER_H_ */
index 1f47be22e753f063579abe1e168534d936246da0..aaa547c882a6c585fd812440c9984985cd403cf8 100644 (file)
  *  limitations under the License.
  *
  */
-#ifndef UI_MENU_H
-#define UI_MENU_H
+#ifndef _UI_MENU_H_
+#define _UI_MENU_H_
 
-#include "../ui_base_viewmanager.h"
-
-namespace efl_viewmgr
+namespace efl_viewmanager
 {
 class ui_view;
 
@@ -45,4 +43,4 @@ public:
 
 }
 
-#endif /* UI_MENU_H */
+#endif /* _UI_MENU_H_ */
diff --git a/src/include/efl/mobile/ui_mobile_viewmanager.h b/src/include/efl/mobile/ui_mobile_viewmanager.h
new file mode 100644 (file)
index 0000000..ac85cbc
--- /dev/null
@@ -0,0 +1,33 @@
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *               http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *
+ */
+#ifndef _UI_MOBILE_VIEWMANAGER_H_
+#define _UI_MOBILE_VIEWMANAGER_H_
+
+#include <system_settings.h>
+
+#include "../ui_base_viewmanager.h"
+#include "ui_view.h"
+#include "ui_key_listener.h"
+#include "ui_viewmgr.h"
+#include "ui_menu.h"
+#include "ui_popup.h"
+#include "ui_app.h"
+
+#define UI_VIEWMGR ui_app::get_instance()->get_viewmgr()
+
+
+#endif /* UI_MOBILE_VIEWMANAGER_H */
index 17e0e7cada93bda553b0c8c91f9fd8b228289296..40f695b5149d2bd3218c7a6693db70f6b77000b5 100644 (file)
  *  limitations under the License.
  *
  */
-#ifndef UI_POPUP_H
-#define UI_POPUP_H
+#ifndef _UI_POPUP_H_
+#define _UI_POPUP_H_
 
-#include "../ui_base_viewmanager.h"
-
-namespace efl_viewmgr
+namespace efl_viewmanager
 {
 class ui_popup : public ui_base_overlay
 {
@@ -42,4 +40,4 @@ public:
 
 }
 
-#endif /* UI_POPUP_H */
+#endif /* _UI_POPUP_H_ */
index 5f0c7aa53c19114fa0af885d96cb145f91dcb42f..4fe6d2f6e151fba0c5f4e635c8f6ef490075a178 100644 (file)
  *  limitations under the License.
  *
  */
-#ifndef UI_VIEW
-#define UI_VIEW
+#ifndef _UI_VIEW_H_
+#define _UI_VIEW_H_
 
-#include "../ui_base_viewmanager.h"
-
-namespace efl_viewmgr
+namespace efl_viewmanager
 {
 
 class ui_menu;
@@ -110,4 +108,4 @@ public:
 
 }
 
-#endif /* UI_VIEW */
+#endif /* _UI_VIEW_H_ */
diff --git a/src/include/efl/mobile/ui_viewmanager.h b/src/include/efl/mobile/ui_viewmanager.h
deleted file mode 100644 (file)
index 28535b3..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
- *
- *  Licensed under the Apache License, Version 2.0 (the "License");
- *  you may not use this file except in compliance with the License.
- *  You may obtain a copy of the License at
- *
- *               http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- *
- */
-#include <dlog.h>
-#include <system_settings.h>
-
-#ifdef  LOG_TAG
-#undef  LOG_TAG
-#endif
-#define LOG_TAG "UI_VIEWMGR"
-
-#include "ui_view.h"
-#include "ui_key_listener.h"
-#include "ui_viewmgr.h"
-#include "ui_menu.h"
-#include "ui_popup.h"
-#include "ui_app.h"
-
-#define UI_VIEWMGR efl_viewmgr::ui_app::get_instance()->get_viewmgr()
index e85d158df2c161f0b73d403d66ac6e23bdb6ad3d..eea491bc5078467e1f740d146ee3ddb1c1f84fbd 100644 (file)
  *  limitations under the License.
  *
  */
-#ifndef UI_VIEWMGR_H
-#define UI_VIEWMGR_H
+#ifndef _UI_VIEWMGR_H_
+#define _UI_VIEWMGR_H_
 
-#include <Elementary.h>
-#include "../ui_base_viewmanager.h"
-
-namespace efl_viewmgr
+namespace efl_viewmanager
 {
 
 class ui_view;
@@ -38,4 +35,4 @@ protected:
 };
 }
 
-#endif /* UI_VIEWMGR_H */
+#endif /* _UI_VIEWMGR_H_ */
index 1ddd81cb3ee25bbe45df562e9d81208e2f5bccf4..cc0849d8755b523baed9502f0f495f6bdeb0258b 100644 (file)
  *  limitations under the License.
  *
  */
-#ifndef UI_BASE_KEY_LISTENER_H
-#define UI_BASE_KEY_LISTENER_H
+#ifndef _UI_BASE_KEY_LISTENER_H_
+#define _UI_BASE_KEY_LISTENER_H_
 
-#include <Elementary.h>
-#include "../interface/ui_iface_viewmanager.h"
-
-namespace efl_viewmgr
+namespace efl_viewmanager
 {
 class ui_base_viewmgr;
 class ui_base_view;
@@ -44,4 +41,4 @@ public:
 
 }
 
-#endif /* UI_BASE_KEY_LISTENER_H */
+#endif /* _UI_BASE_KEY_LISTENER_H_ */
index 84d3bf289a07ec1af7eda836fbf20879dedc8d81..5e4abc47aaa138b765322c7e43991803c69d3ead 100644 (file)
  *  limitations under the License.
  *
  */
-#ifndef UI_BASE_OVERLAY_H
-#define UI_BASE_OVERLAY_H
+#ifndef _UI_BASE_OVERLAY_H_
+#define _UI_BASE_OVERLAY_H_
 
-#include <Elementary.h>
-#include "../interface/ui_iface_viewmanager.h"
-
-namespace efl_viewmgr
+namespace efl_viewmanager
 {
 
 class ui_base_viewmgr;
 class ui_base_view;
 
-class ui_base_overlay: public viewmgr::ui_iface_overlay<Evas_Object *, ui_base_viewmgr>
+class ui_base_overlay: public ui_iface_overlay<Evas_Object *, ui_base_viewmgr>
 {
 protected:
        ui_base_overlay(ui_base_view *view);
@@ -35,4 +32,4 @@ protected:
 
 }
 
-#endif /* UI_BASE_OVERLAY_H */
+#endif /* _UI_BASE_OVERLAY_H_ */
index 397894125285f739d663786815206b48c48620fc..fb62a9df17b7b7386d5653216a6a2c2450f186cb 100644 (file)
  *  limitations under the License.
  *
  */
-#ifndef UI_BASE_VIEW_H
-#define UI_BASE_VIEW_H
+#ifndef _UI_BASE_VIEW_H_
+#define _UI_BASE_VIEW_H_
 
-#include <Elementary.h>
-#include "../interface/ui_iface_viewmanager.h"
-
-namespace efl_viewmgr
+namespace efl_viewmanager
 {
 
 /**
@@ -35,7 +32,7 @@ namespace efl_viewmgr
  *  @warning When the transitions are finished, the view must to call ui_iface_viewmgr :: _push_finished(), ui_iface_viewmgr :: _pop_finished() in order that
  *           The ui_iface_viewmgr keeps the view states exactly.
  */
-class ui_base_view: public viewmgr::ui_iface_view<Evas_Object *, ui_base_viewmgr>
+class ui_base_view: public ui_iface_view<Evas_Object *, ui_base_viewmgr>
 {
        friend class ui_base_viewmgr;
 
@@ -100,4 +97,4 @@ public:
 
 }
 
-#endif /* UI_BASE_VIEW_H */
+#endif /* _UI_BASE_VIEW_H_ */
index e71d6be5cc477c17d07a67954ad4bc0a9e18e8fe..2115d6f5f9d303ba1561195b42645076b69ff59c 100644 (file)
  *  limitations under the License.
  *
  */
-#include <dlog.h>
-
-#ifdef  LOG_TAG
-#undef  LOG_TAG
-#endif
-#define LOG_TAG "UI_VIEWMGR"
-
-#define UI_BASE_VIEWMGR efl_viewmgr::ui_base_viewmgr::get_instance()
+#ifndef _UI_BASE_VIEWMANAGER_H_
+#define _UI_BASE_VIEWMANAGER_H_
 
+#include <Elementary.h>
+#include "../interface/ui_iface_viewmanager.h"
 #include "ui_base_overlay.h"
+#include "ui_base_key_listener.h"
 #include "ui_base_viewmgr.h"
 #include "ui_base_view.h"
-#include "ui_base_key_listener.h"
+
+#define UI_BASE_VIEWMGR ui_base_viewmgr::get_instance()
+
+using namespace efl_viewmanager;
+
+#endif /* UI_BASE_VIEWMANAGER_H */
index f33a8e7a4d65b488e8e3a412f93315a25ff1c38a..729d9a23aadd2324fc7e0180f3f2f52939dc8a66 100644 (file)
  *  limitations under the License.
  *
  */
-#ifndef UI_BASE_VIEWMGR_H
-#define UI_BASE_VIEWMGR_H
+#ifndef _UI_BASE_VIEWMGR_H_
+#define _UI_BASE_VIEWMGR_H_
 
 #include <map>
-#include <Elementary.h>
-#include "../interface/ui_iface_viewmanager.h"
-#include "ui_base_key_listener.h"
-
 
 //FIXME: ??
 #ifndef Elm_Conformant
 #define Elm_Conformant Evas_Object
 #endif
 
-namespace efl_viewmgr
+namespace efl_viewmanager
 {
 
 class ui_base_view;
@@ -44,7 +40,7 @@ class ui_base_view;
  *
  *  @warning viewmgr will remove all containing views when it's destroyed.
  */
-class ui_base_viewmgr: public viewmgr::ui_iface_viewmgr<Evas_Object *, ui_base_viewmgr>
+class ui_base_viewmgr: public ui_iface_viewmgr<Evas_Object *, ui_base_viewmgr>
 {
        friend class ui_base_view;
 
@@ -239,4 +235,4 @@ public:
 };
 }
 
-#endif /* UI_BASE_VIEWMGR_H */
+#endif /* _UI_BASE_VIEWMGR_H_ */
index bb9ac53217a8b9334eaa58496896d44beb0be5cc..076c21bf406a9ae0ba2a68e545dba842ca3603f0 100644 (file)
  *  limitations under the License.
  *
  */
-#ifndef UI_IFACE_OVERLAY_H
-#define UI_IFACE_OVERLAY_H
+#ifndef _UI_IFACE_OVERLAY_H_
+#define _UI_IFACE_OVERLAY_H_
 
-namespace viewmgr
+namespace ui_viewmanager
 {
 
 template<typename T, typename T2>
@@ -92,4 +92,4 @@ void ui_iface_overlay<T, T2>::on_back()
 
 }
 
-#endif /* UI_IFACE_OVERLAY_H */
+#endif /* _UI_IFACE_OVERLAY_H_ */
index f9f5dea22c73b30e5ee318394f4c26291d5b6352..21f582b05d1a8c6ba37c84eda7a47d86130c2f87 100644 (file)
  *  limitations under the License.
  *
  */
-#ifndef UI_IFACE_ROTATABLE_H_
-#define UI_IFACE_ROTATABLE_H_
+#ifndef _UI_IFACE_ROTATABLE_H_
+#define _UI_IFACE_ROTATABLE_H_
 
-namespace viewmgr
+namespace ui_viewmanager
 {
 class ui_iface_rotatable
 {
@@ -36,4 +36,4 @@ public:
 
 }
 
-#endif /* UI_IFACE_ROTATABLE_H_ */
+#endif /* _UI_IFACE_ROTATABLE_H_ */
index bb6f6b0d1aead6e99f19810430ebb4800b937282..fe944ef6ae65f1ec9a4da4b818ee331f4fb122c5 100644 (file)
@@ -1,7 +1,7 @@
-#ifndef UI_IFACE_SINGLETON_H
-#define UI_IFACE_SINGLETON_H
+#ifndef _UI_IFACE_SINGLETON_H_
+#define _UI_IFACE_SINGLETON_H_
 
-namespace viewmgr
+namespace ui_viewmanager
 {
 
 template<typename T>
@@ -42,4 +42,4 @@ T* singleton<T>::get_instance()
 
 }
 
-#endif /* UI_IFACE_SINGLETON_H_ */
+#endif /* _UI_IFACE_SINGLETON_H_ */
index 7853e7093fcedb3ea7a3633272c8862144506633..4deda6a85b32afd587bfee2cb2ce7a4f0a5c54ea 100644 (file)
  *  limitations under the License.
  *
  */
-#ifndef UI_IFACE_VIEW_H_
-#define UI_IFACE_VIEW_H_
+#ifndef _UI_IFACE_VIEW_H_
+#define _UI_IFACE_VIEW_H_
 
 #include <string>
 
 using namespace std;
 
-namespace viewmgr {
-
+namespace ui_viewmanager {
 
 template<typename T, typename T2>
 class ui_iface_viewmgr;
@@ -405,4 +404,4 @@ void ui_iface_view<T, T2>::on_back()
 
 }
 
-#endif /* UI_IFACE_VIEW_H_ */
+#endif /* _UI_IFACE_VIEW_H_ */
index 3b54dc62d9b1648b8a14f3c19a2d763f6dceb33a..35bcd7d8ee9c4eb1348b1626715ec6b6356bab68 100644 (file)
@@ -14,8 +14,8 @@
  *  limitations under the License.
  *
  */
-#ifndef UI_IFACE_VIEWMANAGER_H_
-#define UI_IFACE_VIEWMANAGER_H_
+#ifndef _UI_IFACE_VIEWMANAGER_H_
+#define _UI_IFACE_VIEWMANAGER_H_
 
 #include <app.h>
 #include <dlog.h>
@@ -51,4 +51,6 @@ enum ui_view_state
 #include "ui_iface_view.h"
 #include "ui_iface_viewmgr.h"
 
+using namespace ui_viewmanager;
+
 #endif /* UI_IFACE_VIEWMANAGER_H */
index af03217d0d26e2ae6e323c7dd6dc6fb1ac247a38..0da1bc8e651e0f280b675380e2726d91f0843402 100644 (file)
  *  limitations under the License.
  *
  */
-#ifndef UI_IFACE_VIEWMGR_H_
-#define UI_IFACE_VIEWMGR_H_
+#ifndef _UI_IFACE_VIEWMGR_H_
+#define _UI_IFACE_VIEWMGR_H_
 
 #include <list>
 
 using namespace std;
 
-namespace viewmgr {
+namespace ui_viewmanager {
 
 template<typename T, typename T2>
 class ui_iface_view;
@@ -661,4 +661,4 @@ unsigned int ui_iface_viewmgr<T, T2>::get_view_count()
 
 }
 
-#endif /* UI_IFACE_VIEWMGR_H_ */
+#endif /* _UI_IFACE_VIEWMGR_H_ */
index 632ebb66932f4de968e66fac80ea5a91f0b2a648..92a70673e1bef0d2898304f6dd084ea9a5df9934 100644 (file)
@@ -1 +1,17 @@
-#include "efl/mobile/ui_viewmanager.h"
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *               http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *
+ */
+#include "efl/mobile/ui_mobile_viewmanager.h"
index 67a27ac016f6135db4dfa576a0b28e0f89d75d55..83343eaf6072f4c7563139283dbc891e67a81ae9 100644 (file)
  *  limitations under the License.
  *
  */
-#include "../../../include/efl/mobile/ui_viewmanager.h"
-
-using namespace efl_viewmgr;
-using namespace viewmgr;
+#include "../../../include/efl/mobile/ui_mobile_viewmanager.h"
 
 static bool app_create(void *data)
 {
index 057cc2d9fe946dec3091d205bc13fa37d654a6f7..201127136bec1823419523baf66caf5c056bc8a7 100644 (file)
  *  limitations under the License.
  *
  */
-#include "../../../include/efl/mobile/ui_viewmanager.h"
-
-using namespace efl_viewmgr;
-using namespace viewmgr;
+#include "../../../include/efl/mobile/ui_mobile_viewmanager.h"
 
 static const char *KEY_MENU = "XF86Menu";
 static const char *KEY_MENU2 = "XF86Send";
index 9529b256495960d0a3499c25e0d5cc727364a8aa..81a791abb8a83356cba3330966e6cbeaf73dd198 100644 (file)
@@ -14,9 +14,7 @@
  *  limitations under the License.
  *
  */
-#include "../../../include/efl/mobile/ui_viewmanager.h"
-
-using namespace efl_viewmgr;
+#include "../../../include/efl/mobile/ui_mobile_viewmanager.h"
 
 static void ctxpopup_dismissed_cb(void *data, Evas_Object *obj, void *event_info)
 {
index d3e615085e7acc8689def0657f1e446985df5ada..7a83feb2bcc9f57854f2d7bfe04dc41c30d19a9a 100644 (file)
@@ -14,9 +14,7 @@
  *  limitations under the License.
  *
  */
-#include "../../../include/efl/mobile/ui_viewmanager.h"
-
-using namespace efl_viewmgr;
+#include "../../../include/efl/mobile/ui_mobile_viewmanager.h"
 
 static bool update_popup(ui_popup *popup)
 {
index 1fb61ae0dbd8a8366f77b2d03c374fe2886657b2..6fb430c53b06c704a2781522aa4305d969b94af2 100644 (file)
  *  limitations under the License.
  *
  */
-#include "../../../include/efl/mobile/ui_viewmanager.h"
+#include "../../../include/efl/mobile/ui_mobile_viewmanager.h"
 
 #define DEFAULT_GROUP "tizen_view/default"
 
-using namespace efl_viewmgr;
-using namespace viewmgr;
-
 typedef list<ui_popup*>::reverse_iterator popup_ritr;
 
 #define LAYOUT_VALIDATE() if (!layout) \
index 4d2d2085e24222ed04c3531c2c51f94ada867914..96ac3db4339507326cfd4aad5ce2717037a5980e 100644 (file)
  *  limitations under the License.
  *
  */
-#include "../../../include/efl/mobile/ui_viewmanager.h"
-
-using namespace efl_viewmgr;
-using namespace viewmgr;
+#include "../../../include/efl/mobile/ui_mobile_viewmanager.h"
 
 ui_viewmgr::ui_viewmgr(const char *pkg)
                : ui_base_viewmgr(pkg, new ui_key_listener(this))
index 68fe9589398431ed2b34a4e92fbf28142aecb989..19d29d669739a73b11a41782dc2625828b7bf823 100644 (file)
@@ -16,9 +16,6 @@
  */
 #include "../../include/efl/ui_base_viewmanager.h"
 
-using namespace efl_viewmgr;
-using namespace viewmgr;
-
 static const char *KEY_BACK = "XF86Back";
 static const char *KEY_BACK2 = "XF86Stop";
 
index 7669fe123c3ad6b92d57e56d57bcf1b5be904c4c..fc117e91d593283e8575197ac057dc126993c1bd 100644 (file)
@@ -16,9 +16,6 @@
  */
 #include "../../include/efl/ui_base_viewmanager.h"
 
-using namespace efl_viewmgr;
-using namespace viewmgr;
-
 ui_base_overlay::ui_base_overlay(ui_base_view *view)
                : ui_iface_overlay(view)
 {
index 4774364bcf7d5b30d7f22b688d02c9d44f77180f..51c6a4ef44f18ce34cdb7829eda61023a07e3c70 100644 (file)
@@ -16,9 +16,6 @@
  */
 #include "../../include/efl/ui_base_viewmanager.h"
 
-using namespace efl_viewmgr;
-using namespace viewmgr;
-
 static void content_del_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
 {
        ui_base_view *view = static_cast<ui_base_view *>(data);
index 707f20609856afbec5ca069570a224e630a9df17..b68de7daf843d3f54c214ed879f42677006a5a00 100644 (file)
@@ -16,9 +16,6 @@
  */
 #include "../../include/efl/ui_base_viewmanager.h"
 
-using namespace efl_viewmgr;
-using namespace viewmgr;
-
 bool ui_base_viewmgr::create_base_layout(Elm_Scroller *scroller, const char *style)
 {
        char edj_path[PATH_MAX];