class ui_app
{
public:
- ///Constructor.
+ /**
+ * @brief This is a constructor for initializing ui_app.
+ *
+ * @param pkg The name of package.
+ * @param loale_dir The path of locale directory.
+ */
ui_app(const char *pkg, const char *locale_dir);
///Destructor.
/**
* @brief Return ui_app instance.
+ *
+ * @return The instance of ui_app.
*/
static ui_app *get_instance();
/**
* @brief Calling when gets a launch request event.
+ *
+ * @param app_control_h The instance of app_control_h.
*/
virtual void on_control(app_control_h app_control);
/**
* @brief Calling when device low battery.
+ *
+ * @param app_event_info_h The instance of app_event_info_h.
*/
virtual void on_low_battery(app_event_info_h event_info);
/**
* @brief Calling when device low memory.
+ *
+ * @param app_event_info_h The instance of app_event_info_h.
*/
virtual void on_low_memory(app_event_info_h event_info);
/**
* @brief Calling when device region changed.
+ *
+ * @param app_event_info_h The instance of app_event_info_h.
*/
virtual void on_region_changed(app_event_info_h event_info);
/**
* @brief Calling when device orient changed.
+ *
+ * @param app_event_info_h The instance of app_event_info_h.
*/
virtual void on_orient_changed(app_event_info_h event_info);
/**
* @brief Calling when language changed.
+ *
+ * @param app_event_info_h The instance of app_event_info_h.
*/
virtual void on_lang_changed(app_event_info_h event_info);
class ui_key_listener : public ui_base_key_listener
{
public:
- ///Constructor.
+ /**
+ * @brief This is a constructor for initializing this ui_key_listener.
+ *
+ * @param The instance of ui_viewmgr.
+ */
ui_key_listener(ui_viewmgr *viewmgr);
/**
virtual bool init();
/**
- * @brief Check the menu key event.
+ * @brief Check the menu key event occurs or not.
*
* @note This is checking H/W key is menu or not.
*/
class ui_menu: public ui_base_overlay
{
public:
- /** @brief menu activate.
+ /**
+ * @brief menu activate.
*
* @note It makes menu state as show.
*
*/
virtual bool activate();
- /** @brief menu deactivate.
+ /**
+ * @brief menu deactivate.
*
* @note It makes menu state as hide.
*
*/
virtual bool deactivate();
- /** @brief This is for replacing or setting a content of the menu.
+ /**
+ * @brief This is for replacing or setting a content of the menu.
*
* @param ctxpopup ctxpopup object. It allows @c NULL for canceling the previous content.
*
*/
virtual bool set_content(Elm_Ctxpopup* ctxpopup);
- /** @brief This is for unsetting a content of the menu.
+ /**
+ * @brief This is for unsetting a content of the menu.
*
* @return A previous content. If it wasn't, return value will be @c NULL.
*/
virtual int get_degree();
protected:
- ///Constructor.
+ /**
+ * @brief This is a constructor for initializing this menu.
+ *
+ * @param The instance of ui_view.
+ */
ui_menu(ui_view *view);
///Destructor.
class ui_popup : public ui_base_overlay
{
public:
- ///Constructor.
+ /**
+ * @brief This is a constructor for initializing this popup.
+ *
+ * @param The instance of ui_view.
+ */
ui_popup(ui_view *view);
///Destructor.
virtual ~ui_popup();
- /** @brief popup activate.
+ /**
+ * @brief popup activate.
*
* @note It makes popup state as show.
*
*/
virtual bool activate();
- /** @brief popup deactivate.
+ /**
+ * @brief popup deactivate.
*
* @note It makes popup state as hide.
*
*/
virtual bool deactivate();
- /** @brief This is for replacing or setting a content of the popup.
+ /**
+ * @brief This is for replacing or setting a content of the popup.
*
* @param popup popup object. It allows @c NULL for canceling the previous content.
*
*/
virtual bool set_content(Elm_Popup* popup);
- /** @brief This is for unsetting a content of the popup.
+ /**
+ * @brief This is for unsetting a content of the popup.
*
* @return A previous content. If it wasn't, return value will be @c NULL.
*/
class ui_standard_view: public ui_view
{
public:
- ///Constructor.
+ /**
+ * @brief This is a constructor for initializing this view resources.
+ *
+ * @param name view name.
+ */
ui_standard_view(const char *name = NULL);
///Destructor.
virtual ~ui_standard_view();
- /** @brief This is for replacing or setting a content of the view.
+ /**
+ * @brief This is for replacing or setting a content of the view.
*
* @param content a new content. It allows @c NULL for canceling the previous content.
* @param title title_label The label in the title area. The name of the title label part is "elm.text.title"
*/
bool set_content(Evas_Object *content, const char *title = NULL);
- /** @brief This is for replacing or setting a content of the view.
+ /**
+ * @brief This is for replacing or setting a content of the view.
*
* @param content a new content. It allows @c NULL for canceling the previous content.
* @param title The label in the title area. The name of the title label part is "elm.text.title".
* @brief This is for setting title badge text.
*
* @param text The label in the title badge area.
+ *
+ * @return true if it succeed, false otherwise.
*/
bool set_title_badge(const char *text);
* @brief This is for setting subtitle text.
*
* @param text The label in the subtitle area.
+ *
+ * @return true if it succeed, false otherwise.
*/
bool set_subtitle(const char *text);
* @brief This is for setting title_left_btn.
*
* @param title_left_btn The button in the left part of title area.
+ *
+ * @return true if it succeed, false otherwise.
*/
bool set_title_left_btn(Elm_Button *title_left_btn);
* @brief This is for setting title_right_btn.
*
* @param title_right_btn The button in the right part of title area.
+ *
+ * @return true if it succeed, false otherwise.
*/
bool set_title_right_btn(Elm_Button *title_right_btn);
* @brief This is for setting title text.
*
* @param text The label in the title area.
+ *
+ * @return true if it succeed, false otherwise.
*/
bool set_title(const char *text);
* @brief This is for setting toolbar below title.
*
* @param toolbar Toolbar object.
+ *
+ * @return true if it succeed, false otherwise.
*/
bool set_toolbar(Elm_Toolbar *toolbar);
*
* @param visible title state set as visible if the given param is true, otherwise title area set as invisible.
* @param anim title area will be shown with animation if the given param is true, otherwise title area will be shown without animation.
+ *
+ * @return true if it succeed, false otherwise.
*/
bool set_title_visible(bool visible, bool anim);
* @note This interface is designed for toggling touch event on view transition.
* ui_iface_viewmgr will call this interface for notifying event blocking toggling on transition time.
*
- * @param block @c true, when blocking is enabled, otherwise @c false.
+ * @param block @c true, blocking enable, otherwise @c false.
*/
virtual void set_event_block(bool block);
class ui_view: public ui_base_view
{
public:
- ///Constructor.
+ /**
+ * @brief This is a constructor for initializing this view resources.
+ *
+ * @param name view name.
+ */
ui_view(const char *name = NULL);
///Destructor.
/**
* @brief Get menu object.
*
- * @return menu object if any.
+ * @return The menu object of connected with view.
*/
const ui_menu *get_menu();
/**
* @brief This is making ui_menu instance.
*
- * @note It creates ui_menu instance, if there is no ui_menu instance of this view.
+ * @note It creates ui_menu instance, if there is no connected ui_menu instance of this view.
* It hides menu if there is already menu activated.
*
- * @return menu instance of this view. NULL If the menu already activated.
+ * @return The menu instance of this view. NULL If the menu already activated.
*/
virtual ui_menu *on_menu_pre();
virtual void on_menu_post();
/**
- * @brief H/W back key event occurs on view.
+ * @brief The H/W menu key event occurs on view.
*
* @param menu menu instance, This is made by key listener when menu key occured.
*/
virtual void on_menu(ui_menu *menu);
/**
- * @brief H/W back key event occurs on view.
+ * @brief The H/W back key event occurs on view.
*
* @note User can override this function to define application specific action when H/W back key
* event occurs. otherwise current view will be popped.
virtual void on_back();
/**
- * @brief view rotate changed.
+ * @brief View rotate changed.
*
* @note This state will be called when view rotation changed.
*
virtual void on_rotate(int degree);
/**
- * @brief view portrait state.
+ * @brief View portrait state.
*
* @note This state will be called when view rotation changed to portrait.
*
virtual void on_portrait();
/**
- * @brief view landscape state.
+ * @brief View landscape state.
*
* @note This state will be called when view rotation changed to landscape.
*
*/
virtual void on_landscape();
- /** @brief view deactivate state.
+ /** @brief View deactivate state.
*
* @note this state will be triggered by ui_iface_viewmgr.
*
{
protected:
//Don't allow to create ui_viewmgr instance
+ /**
+ * @brief This is a constructor for initializing viewmgr.
+ *
+ * @param pkg The name of package.
+ */
ui_viewmgr(const char *pkg);
+
+ ///Destructor.
virtual ~ui_viewmgr();
private:
class ui_base_key_listener
{
protected:
- ///Constructor.
+ /**
+ * @brief This is a constructor for initializing key listener.
+ *
+ * @param viewmgr The instance of ui_base_viewmgr.
+ */
ui_base_key_listener(ui_base_viewmgr *viewmgr);
///Destructor.
/**
* @brief Init H/W key listener to grab key event(back key).
*
- * @note It makes evas_object_rectangle and add key up callback.
+ * @note It makes evas_object_rectangle and add key up callback to grab key event.
*
* @see term()
*/
virtual bool term();
/**
- * @brief Check the menu key event.
+ * @brief Check the menu key event occurs or not.
*
* @note This is checking H/W key is menu or not.
*/
class ui_base_overlay: public ui_iface_overlay
{
protected:
- ///Constructor.
+ /**
+ * @brief This is a constructor for initializing overlay.
+ *
+ * @param view The instance of ui_base_view.
+ */
ui_base_overlay(ui_base_view *view);
///Destructor.
class ui_base_view: public ui_iface_view
{
public:
- ///Constructor.
+ /**
+ * @brief This is a constructor for initializing this view resources.
+ *
+ * @param name view name.
+ */
ui_base_view(const char *name = NULL);
///Destructor.
virtual ~ui_base_view();
- /** @brief This is for replacing or setting a content of the view.
+ /**
+ * @brief This is for replacing or setting a content of the view.
*
* @param content a new content. It allows @c NULL for canceling the previous content.
*
*/
virtual bool set_content(Evas_Object *content);
- /** @brief This is for unsetting a content of the view.
+ /**
+ * @brief This is for unsetting a content of the view.
*
* @return A previous content. If it wasn't, return value will be @c NULL.
*/
virtual Evas_Object *unset_content();
- /** @brief Get a base layout of viewmgr.
+ /**
+ * @brief Get a base layout of viewmgr.
+ *
+ * @return The base layout object of viewmgr.
*/
virtual Evas_Object *get_base();
- /** @brief Set the indicator mode.
+ /**
+ * @brief Set the indicator mode.
*
* @param indicator The mode to set, one of #ui_base_view_indicator.
*/
virtual void set_indicator(ui_view_indicator indicator);
- /** @brief Get current view's degree.
+ /**
+ * @brief Get current view's degree.
*
* @return Current rotation degree, -1 if it fails to get degree information.
*/
virtual int get_degree();
protected:
- /** @brief Get a parent object of view.
+ /**
+ * @brief Get a parent object of view.
*
* @note This is calling viewmgr get_base() method internally.
*
- * @return base layout of viewmgr.
+ * @return The base layout object of viewmgr.
*/
Evas_Object *get_parent();
- /** @brief toggle event block.
+ /**
+ * @brief Toggle event block.
*
- * @note It makes internal conformant event freeze during effect showing.
+ * @note It makes view content event freeze during effect showing.
*
* @param block @c true, when blocking is enabled, otherwise @c false.
*/
virtual void set_event_block(bool block);
/**
- * @brief view rotate changed.
+ * @brief View rotate changed.
*
* @note This state will be called when view rotation changed.
*
- * @param degree Current view's degree.
+ * @param degree The current degree of view.
*
* @see on_portrait()
* @see on_landscpae()
virtual void on_rotate(int degree);
/**
- * @brief view portrait state.
+ * @brief View portrait state.
*
* @note This state will be called when view rotation changed to portrait.
*
virtual void on_portrait();
/**
- * @brief view landscape state.
+ * @brief View landscape state.
*
* @note This state will be called when view rotation changed to landscape.
*
virtual ui_base_view *push_view(ui_base_view *view);
/**
- * @brief Push a new view into this viewmgr. This function is used for when application switches a current view to a new one.
- *
- * @note Normally, the current view will be hidden by a new view. In default, when user calls this API, view will be switched to @p view instantly,
- * only when viewmgr state is activated. Otherwise, the @p view will be shown later when viewmgr is activated. push_view() is designed for providing
- * view transition effect. If you want push view instantly without any transition, you could use insert_view_before() or insert_view_after().
- * If you want to pop the current view, the please use pop_view().
+ * @brief Pop the top(last) view from this viewmgr view list.
+ * This function is used when application switches the current view back to the previous view.
+ * The top view will be removed from the view stack and then it will be deleted by the viewmgr.
*
- * @param view A view to insert in the viewmgr view list.
+ * @note If the view is just one left, then viewmgr would be deactivated automatically since the ui application might be invalid anymore. Otherwise,
+ * the application will be terminated. It's up to system configuration.
*
- * @return @p view, @c NULL when it fails to push a @p view.
+ * @return @c true on success or @c false otherwise.
*
- * @see activated()
- * @see insert_view_before()
- * @see insert_view_after()
- * @see pop_view()
+ * @see deactivate()
+ * @see push_view()
*/
virtual bool pop_view();
*/
virtual bool insert_view_after(ui_base_view *view, ui_base_view *after);
- /** @brief Get a window object of viewmgr.
+ /**
+ * @brief Get a window object of viewmgr.
+ *
+ * @return The window object of viewmgr.
*/
Elm_Win *get_window();
- /** @brief Get a conformant object of viewmgr.
+ /**
+ * @brief Get a conformant object of viewmgr.
+ *
+ * @return The conformant object of viewmgr.
*/
Elm_Conformant *get_conformant();
- /** @brief Get a last view of current view stack.
+ /**
+ * @brief Return a last(top) view.
+ *
+ * @return The view which is last view of the viewmgr view list.
*/
ui_base_view *get_last_view();
*/
ui_base_view *get_view(unsigned int idx);
- /** @brief Get a base layout of viewmgr.
+ /**
+ * @brief Get a base layout of viewmgr.
+ *
+ * @return The base layout object of viewmgr.
*/
Evas_Object *get_base();
/**
* @brief Set indicator of the view.
*
- * @param indicator The mode to set, one of #ui_view_indicator
+ * @param indicator The mode to set, one of #ui_view_indicator.
+ *
+ * @return @c false if current indicator is same with new one, @c true otherwise.
*/
bool set_indicator(ui_view_indicator indicator);
- ///Constructor
+ /**
+ * @brief This is a constructor for initializing viewmgr.
+ *
+ * @param pkg The name of package.
+ * @param key_listener The instance of ui_base_key_listner.
+ */
ui_base_viewmgr(const char *pkg, ui_base_key_listener *key_listener);
+
+ /**
+ * @brief This is a constructor for initializing viewmgr.
+ *
+ * @param pkg The name of package.
+ */
ui_base_viewmgr(const char *pkg);
///Destructor.
class ui_iface_overlay: public ui_iface_rotatable
{
public:
- /** @brief This is for replacing or setting a content of the view.
+ /**
+ * @brief This is for replacing or setting a content of the view.
*
* @note @p content is a logical object that represents a view in your framework. The actual type of the content could be translated to any certain types.
* For instance, the type could be Evas_Object * in EFL and Layer * in Dali.
*/
virtual bool set_content(T content);
- /** @brief This is for unsetting a content of the view.
+ /**
+ * @brief This is for unsetting a content of the view.
*
* @return A previous content. If it wasn't, return value will be @c NULL.
*/
virtual T unset_content();
- /** @brief H/W back key event occurs on view.
+ /**
+ * @brief The H/W back key event occurs on view.
*
* @note User can override this function to define application specific action when H/W back key
* event occurs. otherwise current view will be popped.
*/
virtual void on_back();
- /** @brief Overlay activate.
+ /**
+ * @brief Overlay activate.
*
* @note It makes overlay state as show.
*
- * @return true if it succeed, false otherwise.
+ * @return @c true on success or @c false otherwise.
*
* @see deactivate()
*/
virtual bool activate();
- /** @brief Overlay deactivate.
+ /**
+ * @brief Overlay deactivate.
*
* @note It makes overlay state as hide.
*
- * @return true if it succeed, false otherwise.
+ * @return @c true on success or @c false otherwise.
*
* @see activate()
*/
*/
ui_iface_view *get_view();
- /** @brief Return a content instance of this overlay.
+ /**
+ * @brief Return a content instance of this overlay.
*
* @return content of overlay.
*/
virtual T get_content();
protected:
- ///Constructor.
+ /**
+ * @brief This is a constructor for initializing overlay.
+ *
+ * @param view The instance of ui_iface_view.
+ */
ui_iface_overlay(ui_iface_view *view);
///Destructor.
{
protected:
/**
- * @brief view portrait state.
+ * @brief View portrait state.
*
* @note This state will be called when view rotation changed to portrait.
*
virtual void on_portrait() {}
/**
- * @brief view landscape state.
+ * @brief View landscape state.
*
* @note This state will be called when view rotation changed to landscape.
*
virtual void on_landscape() {}
/**
- * @brief view rotate changed.
+ * @brief View rotate changed.
*
* @note This state will be called when view rotation changed.
*
virtual void on_rotate(int degree) {}
public:
- /** @brief Get current view's degree.
+ /**
+ * @brief Get current view's degree.
*
* @return Current rotation degree, -1 if it fails to get degree information.
*/
class ui_iface_view : public ui_iface_rotatable
{
public:
- /** @brief This is a constructor for initializing this view resources.
+ /**
+ * @brief This is a constructor for initializing this view resources.
*
* @param name view name.
*/
ui_iface_view(const char *name = NULL);
- ///Destructor for terminating view.
+ ///Destructor.
virtual ~ui_iface_view();
- /** @brief set transition style of a view.
+ /**
+ * @brief Set transition style of a view.
*
* @note @p style is reserved for supporting various kinds of view transition effects.
* The actual behaviors with this transition style is up to your frameworks. Default value of the style is NULL.
*/
bool set_transition_style(const char *style);
- /** @brief set name of the view.
+ /**
+ * @brief Set name of the view.
*
- * @note A view can gets a specific name. default value of the name is NULL.
+ * @note A view can get a specific name. default value of the name is NULL.
*
* @param name a new name of view.
*
*/
bool set_name(const char *name);
- /** @brief set content removable.
+ /**
+ * @brief Set content removable.
*
* @param removable if @p removable is @c true, content of this view will be removed on unload state. @c false otherwise.
*
*/
void set_removable_content(bool removable);
- /** @brief set the indicator of the view with mode.
+ /**
+ * @brief Set the indicator of the view with mode.
*
* @param indicator The mode to set, one of #ui_view_indicator.
*/
void set_indicator(ui_view_indicator indicator);
- /** @brief Return a style name of this view.
+ /**
+ * @brief Return a style name of this view.
*
* @return style name of view.
*/
const char *get_transition_style();
- /** @brief Return a name of this view.
+ /**
+ * @brief Return a name of this view.
*
* @return name of view.
*/
const char *get_name();
- /** @brief Return a content instance of this view.
+ /**
+ * @brief Return a content instance of this view.
*
* @return content of view.
*/
T get_content();
- /** @brief This is for replacing or setting a content of the view.
+ /**
+ * @brief This is for replacing or setting a content of the view.
*
* @note @p content is a logical object that represents a view in your framework. The actual type of the content could be translated to any certain types.
* For instance, the type could be Evas_Object * in EFL and Layer * in Dali.
*/
virtual bool set_content(T content);
- /** @brief This is for unsetting a content of the view.
+ /**
+ * @brief This is for unsetting a content of the view.
*
* @return A previous content. If it wasn't, return value will be @c NULL.
*/
virtual T unset_content();
- /** @brief Return a state of this view.
+ /**
+ * @brief Return a state of this view.
*
- * #return current state of view.
+ * @return current state of view.
*/
ui_view_state get_state();
- /** @brief Return a state of removable content.
+ /**
+ * @brief Return a state of removable content.
*
* @return true if the view's content is removable, otherwise false.
*/
bool get_removable_content();
- /** @brief Return the indicator mode of this view.
+ /**
+ * @brief Return the indicator mode of this view.
*
* @return indicator state of view.
*/
ui_view_indicator get_indicator();
- /** @brief H/W back key event occurs on view.
+ /**
+ * @brief The H/W back key event occurs on view.
*
* @note User can override this function to define application specific action when H/W back key
* event occurs. otherwise current view will be popped.
virtual void on_back();
protected:
-
- /** @brief toggle event block.
+ /**
+ * @brief Toggle event block.
*
* @note This interface is designed for toggling touch event on view transition.
* ui_iface_viewmgr will call this interface for notifying event blocking toggling on transition time.
*
* @param block @c true, when blocking is enabled, otherwise @c false.
+ *
+ * @see get_event_block()
*/
virtual void set_event_block(bool block);
- /** @brief view load state.
+ /**
+ * @brief Return the state of event block.
+ *
+ * @return true if the event block enabled, otherwise false.
+ *
+ * @see set_event_block()
+ */
+ bool get_event_block();
+
+ /**
+ * @brief View load state.
*
* @note A view of this state is moving onto the screen. Get ready for this view. Generally, you could prepare this view's content here and set them to
* this view. In the most cases, this on_load() will be triggered with this step. load -> deactivated -> activated. Tihs on_load() will be triggered
*/
virtual void on_load();
- /** @brief view unload state.
+ /**
+ * @brief View unload state.
*
- * @note Remove resources (contents) with regards to this view for saving memory. Otherwise, you could keep those resources (contents) for later access.
- * Removing resources might be better in point of performance view. It's up to your scenario. on_unload() will be triggered just right before
- * the view is going to be deleted by popping or by somehow. Also, on_unload() will be triggered when this view is pushed behind other views.
+ * @note Remove resources (contents) with regards to this view for saving memory. Otherwise, you could keep those resources (contents) for later access.
+ * Removing resources might be better in point of performance view. It's up to your scenario. on_unload() will be triggered just right before
+ * the view is going to be deleted by popping or by somehow. Also, on_unload() will be triggered when this view is pushed behind other views.
*/
virtual void on_unload();
- /** @brief view activate state.
- *
- * @note Generally, a view will be activated when show-transition is finished. From whatever its state, when the view comes on the screen,
- * on_activate() will be triggered. In the most cases, on_activate() will be triggered with this step. load -> deactivate -> activate
+ /**
+ * @brief View activate state.
+ *
+ * @note Generally, a view will be activated when show-transition is finished. From whatever its state, when the view comes on the screen,
+ * on_activate() will be triggered. In the most cases, on_activate() will be triggered with this step. load -> deactivate -> activate
*/
virtual void on_activate();
- /** @brief view deactivate state.
+ /**
+ * @brief View deactivate state.
*
* @note Get ready for unload. Hide transition may be triggered at this point. Deactivate state is triggered on this scenario if this view is still
* visible but it shouldn't be interactive with users. In the most cases, when a view is going to be popped or destroyed, on_deactivate() will be
*/
virtual void on_deactivate();
- /** @brief view pause state.
+ /**
+ * @brief View pause state.
*
* @note If the system blocks application running in some cases such as phone call, system notification, application switching ..., this Pause will be
* triggered. Other than that, when application window turns to deactivate (@see ui_iface_viewmgr::deactivate()), on_pause() will be called also.
*/
virtual void on_pause();
- /** @brief view resume state.
+ /**
+ * @brief View resume state.
*
* @note When a view is returns to the activate state from pause state, this on_resume() will be triggered. Other than that, when the system
* allows application to turn to activate or when the window turns to activate (@see ui_iface_viewmgr::activate()), on_resume() will be triggered
*/
virtual void on_resume();
- /** @brief view destroy state.
+ /**
+ * @brief View destroy state.
*
* @note When this view is on destroyed by popping or by somehow, destroy will be triggered. Most of the cases, you can free your personal resources for
* the view because this view instance will be totally freed at the end of destroy. Be awre that you must not request any view functions on this
*/
virtual void on_destroy();
- /** @brief Return the state of event block.
- *
- * @see set_event_block()
- */
- bool get_event_block();
-
private:
-
- /** @brief Connect with given viewmgr.
+ /**
+ * @brief Connect with given viewmgr.
+ *
+ * @param viewmgr The instance of viewmgr.
*
* @return true if it succeed, false otherwise.
*
*/
bool set_viewmgr(ui_iface_viewmgr *viewmgr);
- /** @brief Return the viewmgr instance.
+ /**
+ * @brief Return the viewmgr instance.
*
* @return ui_iface_viewmgr instance.
*
/**
* @brief Return viewmgr instance.
+ *
+ * @return viewmgr instance.
*/
static ui_iface_viewmgr* get_instance();
* @see pop_view()
* @see ui_iface_view::set_transition_style()
*/
- ui_iface_view *push_view(ui_iface_view *view);
+ virtual ui_iface_view *push_view(ui_iface_view *view);
/**
* @brief Pop the top(last) view from this viewmgr view list.