Removed explicit namespace usage in open headers.
This won't make apps in trouble if they were using duplicated name classes among different libraries.
Let apps choose those classes specifically by themseleves.
Change-Id: I620b7183a93ee14e021ed6a1741a556bea83a89e
#define PACKAGE "ui-viewmgr"
#endif
+using namespace efl_viewmanager;
+
Evas_Object *createLandscapeContent(Evas_Object *parent, const char *text, Evas_Smart_Cb _prevBtnClickedCb, Evas_Smart_Cb _nextBtnClickedCb);
Evas_Object *createContent(Evas_Object *parent, const char *text, Evas_Smart_Cb _prevBtnClickedCb, Evas_Smart_Cb _nexBtnClickedCb);
Evas_Object *createScrollingContent(Evas_Object *parent);
* UiBaseView. UiBaseOverlay is nothing more than UiIfaceOverlay in behavior perspective. It just comes out with renaming class for adapting with
* other EFL base classes.
*/
-class UiBaseOverlay: public UiIfaceOverlay
+class UiBaseOverlay: public ui_viewmanager::UiIfaceOverlay
{
protected:
/**
* @brief This is a base class of EFL view. Typically, this view extends UiIfaceView and implements basic behaviors for EFL view in all profiles.
* A view must have one Evas_Object content instance which represents a view for a current screen.
*/
-class UiBaseView: public UiIfaceView
+class UiBaseView: public ui_viewmanager::UiIfaceView
{
public:
/**
#include "UiBaseViewmgr.h"
#include "UiBaseView.h"
-#define UI_BASE_VIEWMGR dynamic_cast<UiBaseViewmgr *>(UiIfaceViewmgr::getInstance())
-
-using namespace efl_viewmanager;
+#define UI_BASE_VIEWMGR dynamic_cast<efl_viewmanager::UiBaseViewmgr *>(ui_viewmanager::UiIfaceViewmgr::getInstance())
#endif /* UI_BASE_VIEWMANAGER_H */
*
* @warning viewmgr will remove its window, conformant and default layout when it's destroyed.
*/
-class UiBaseViewmgr: public UiIfaceViewmgr
+class UiBaseViewmgr: public ui_viewmanager::UiIfaceViewmgr
{
public:
/**
* interfaces such as low_baterry(), low_meomory(), lang_changed(), region_changed() and so on. UiIfaceApp create an unique UiViewmgr instance
* internally, and manage its life.
*/
-class UiApp : public UiIfaceApp
+class UiApp : public ui_viewmanager::UiIfaceApp
{
public:
/**
* @brief This class extends to UiBaseKeyListener to support an additional HW Menu key for mobile profile. Basically, HW Menu key will be propagated to
* the top view and UiView::on_menu() will be triggered.
*/
-class UiKeyListener : public UiBaseKeyListener
+class UiKeyListener : public efl_viewmanager::UiBaseKeyListener
{
public:
/**
*
* @warning UiMenu and its content, Elm_Ctxpopup will be deleted by its owned UiView on the proper time. So you can just leave its instance to it.
*/
-class UiMenu: public UiBaseOverlay
+class UiMenu: public efl_viewmanager::UiBaseOverlay
{
public:
/**
#include "UiPopup.h"
#include "UiApp.h"
-#define UI_VIEWMGR (UiApp::getInstance()->getViewmgr())
+#define UI_VIEWMGR (efl_viewmanager::UiApp::getInstance()->getViewmgr())
#endif /* UI_MOBILE_VIEWMANAGER_H */
*
* @warning UiPopup and its content, Elm_Popup will be deleted by its owned UiView on the proper time. So you can just leave its instance to it.
*/
-class UiPopup : public UiBaseOverlay
+class UiPopup : public efl_viewmanager::UiBaseOverlay
{
public:
/**
* to the system profile, when this view is pushed into a UiViewmgr, it will internally create a software back key that triggers popping the view.
*
*/
-class UiStandardView: public UiView
+class UiStandardView: public efl_viewmanager::UiView
{
public:
/**
* Basically, UiView implements basics for running together with overlays such as UiMenu and UiPopup. You can use this UiView as an empty ui form
* view.
*/
-class UiView: public UiBaseView
+class UiView: public efl_viewmanager::UiBaseView
{
public:
/**
* EFL view manager in mobile profile. UiViewmgr is nothing more than UiBaseViewmgr in behavior perspective. It just comes out with renaming class
* for adapting with other EFL mobile classes.
*/
-class UiViewmgr: public UiBaseViewmgr
+class UiViewmgr: public efl_viewmanager::UiBaseViewmgr
{
protected:
//Don't allow to create UiViewmgr instance
#define _UI_IFACE_VIEWMANAGER_H_
#include <dlog.h>
+#include <app.h>
#define UI_EFL 1
#endif
#endif
-
-
-
-#include <app.h>
#include "UiIfaceTypes.h"
#include "UiIfaceRotatable.h"
#include "UiIfaceOverlay.h"
#include "UiIfaceViewmgr.h"
#include "UiIfaceApp.h"
-using namespace ui_viewmanager;
-
-
#endif /* UI_IFACE_VIEWMANAGER_H */
*/
#include "../../include/efl/UiBaseViewManager.h"
+using namespace ui_viewmanager;
+using namespace efl_viewmanager;
+
/***********************************************************************************************/
/* Internal class Implementation */
/***********************************************************************************************/
*/
#include "../../include/efl/UiBaseViewManager.h"
+using namespace ui_viewmanager;
+using namespace efl_viewmanager;
+
UiBaseOverlay::UiBaseOverlay(UiBaseView *view)
: UiIfaceOverlay(view)
{
*/
#include "../../include/efl/UiBaseViewManager.h"
+using namespace ui_viewmanager;
+using namespace efl_viewmanager;
/***********************************************************************************************/
/* Internal class Implementation */
* limitations under the License.
*
*/
-
#include <map>
#include <string>
#include "../../include/efl/UiBaseViewManager.h"
+using namespace ui_viewmanager;
+using namespace efl_viewmanager;
using namespace std;
/***********************************************************************************************/
*/
#include "../../../include/efl/mobile/UiMobileViewManager.h"
+using namespace ui_viewmanager;
+using namespace efl_viewmanager;
+
/***********************************************************************************************/
/* Internal class Implementation */
/***********************************************************************************************/
*/
#include "../../../include/efl/mobile/UiMobileViewManager.h"
+using namespace ui_viewmanager;
+using namespace efl_viewmanager;
+
static const char *KEY_MENU = "XF86Menu";
static const char *KEY_MENU2 = "XF86Send";
*/
#include "../../../include/efl/mobile/UiMobileViewManager.h"
+using namespace ui_viewmanager;
+using namespace efl_viewmanager;
+
static void _ctxpopupDismissedCb(void *data, Evas_Object *obj, void *event_info)
{
evas_object_hide(obj);
*/
#include "../../../include/efl/mobile/UiMobileViewManager.h"
+using namespace ui_viewmanager;
+using namespace efl_viewmanager;
+
static bool _updatePopup(UiPopup *popup)
{
Elm_Win *win = popup->getBase();
*/
#include "../../../include/efl/mobile/UiMobileViewManager.h"
+using namespace ui_viewmanager;
+using namespace efl_viewmanager;
+
/***********************************************************************************************/
/* Internal class Implementation */
/***********************************************************************************************/
#include <list>
#include "../../../include/efl/mobile/UiMobileViewManager.h"
+using namespace ui_viewmanager;
+using namespace efl_viewmanager;
+
/***********************************************************************************************/
/* Internal class Implementation */
/***********************************************************************************************/
*/
#include "../../../include/efl/mobile/UiMobileViewManager.h"
+using namespace ui_viewmanager;
+using namespace efl_viewmanager;
+
/***********************************************************************************************/
/* Internal class Implementation */
/***********************************************************************************************/
#include <system_settings.h>
#include "../../include/interface/UiIfaceViewManager.h"
+using namespace ui_viewmanager;
+
/***********************************************************************************************/
/* Internal class Implementation */
/***********************************************************************************************/
#include "../../include/interface/UiIfaceViewManager.h"
+using namespace ui_viewmanager;
/***********************************************************************************************/
/* Internal class Implementation */
#include <string>
+using namespace ui_viewmanager;
using namespace std;
/***********************************************************************************************/
#include "../../include/interface/UiIfaceViewManager.h"
+using namespace ui_viewmanager;
using namespace std;
/***********************************************************************************************/