Doxygen update. 12/69112/2
authorWoochan Lee <wc0917.lee@samsung.com>
Wed, 11 May 2016 14:25:37 +0000 (23:25 +0900)
committerwoochan lee <wc0917.lee@samsung.com>
Fri, 13 May 2016 00:40:31 +0000 (17:40 -0700)
Change-Id: I596583d6f9c744ef345de83c340700b5e1bebdc3

15 files changed:
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_popup.h
src/include/efl/mobile/ui_standard_view.h
src/include/efl/mobile/ui_view.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_viewmgr.h
src/include/interface/ui_iface_overlay.h
src/include/interface/ui_iface_rotatable.h
src/include/interface/ui_iface_view.h
src/include/interface/ui_iface_viewmanager.h
src/include/interface/ui_iface_viewmgr.h

index 6898589d82a289389ab1a0431a10f8c5271995af..72011888fce3a763d494d9e8d6bab6937ab9b460 100644 (file)
@@ -25,25 +25,91 @@ class ui_viewmgr;
 class ui_app
 {
 public:
+       ///Constructor.
        ui_app(const char *pkg, const char *locale_dir);
+
+       ///Destructor.
        virtual ~ui_app();
 
+       /**
+        *  @brief Return the viewmgr instance.
+        *
+        *  @return ui_viewmgr instance.
+        */
        ui_viewmgr *get_viewmgr();
+
+       /**
+        *  @brief Return ui_app instance.
+        */
        static ui_app *get_instance();
 
+       /**
+        *  @brief Application life-cycle start and add application event callback functions add.
+        *
+        *  @note This is calling ui_app_main function to start application life-cycle start.
+        *        and adding all of the functions for application events handling such as
+        *        create, terminate, pause, resume, app_control, APP_EVENT_LOW_BATTERY, APP_EVENT_LOW_MEMORY
+        *        APP_EVENT_DEVICE_ORIENTATION_CHANGED, APP_EVENT_LANGUAGE_CHANGED, APP_EVENT_REGION_FORMAT_CHANGED.
+        *        Application can add those events using wrapping functions by viewmgr supported.
+        */
        virtual int run(int argc, char **argv);
 
 protected:
+       /**
+        *  @brief Calling before the main event loop start.
+        *
+        *  @note Take necessary actions like a Initialize UI resources and application data.
+        *
+        *  @return If this function returns true, the application main loop starts.
+        *          If this function returns false, the application terminates.
+        */
        virtual bool on_create();
+
+       /**
+        *  @brief Calling before the main event loop finish.
+        *
+        *  @note Release all resources here.
+        */
        virtual void on_terminate();
+
+       /**
+        *  @brief Calling when application becomes invisible.
+        */
        virtual void on_pause();
+
+       /**
+        *  @brief Calling when application becomes visible.
+        */
        virtual void on_resume();
+
+       /**
+        *  @brief Calling when gets a launch request event.
+        */
        virtual void on_control(app_control_h app_control);
 
+       /**
+        *  @brief Calling when device low battery.
+        */
        virtual void on_low_battery(app_event_info_h event_info);
+
+       /**
+        *  @brief Calling when device low memory.
+        */
        virtual void on_low_memory(app_event_info_h event_info);
+
+       /**
+        *  @brief Calling when device region changed.
+        */
        virtual void on_region_changed(app_event_info_h event_info);
+
+       /**
+        *  @brief Calling when device orient changed.
+        */
        virtual void on_orient_changed(app_event_info_h event_info);
+
+       /**
+        *  @brief Calling when language changed.
+        */
        virtual void on_lang_changed(app_event_info_h event_info);
 
 private:
index 8f9724ac4dec08e661a541e6b2c9b2aa395760c0..bed93271572ac164dc8df24a11774c01d59aade4 100644 (file)
@@ -32,9 +32,21 @@ class ui_viewmgr;
 class ui_key_listener : public ui_base_key_listener
 {
 public:
+       ///Constructor.
        ui_key_listener(ui_viewmgr *viewmgr);
 
+       /**
+        *  @brief Init H/W key listener to grab key event(menu key).
+        *
+        *  @note Add menu key to target of key grabber.
+        */
        virtual bool init();
+
+       /**
+        *  @brief Check the menu key event.
+        *
+        *  @note This is checking H/W key is menu or not.
+        */
        virtual void extend_event_proc(ui_base_view *view, Evas_Event_Key_Down *ev);
 };
 
index 29f19ee0f69e153e6043a30f9a0a9e3a28b5c932..0cbc841fe614c832f97377f54c0e820087434f5b 100644 (file)
@@ -36,18 +36,76 @@ class ui_view;
 class ui_menu: public ui_base_overlay
 {
 public:
+       /** @brief menu activate.
+        *
+        *  @note It makes menu state as show.
+        *
+        *  @return true if it succeed, false otherwise.
+        *
+        *  @see deactivate()
+        */
        virtual bool activate();
+
+       /** @brief menu deactivate.
+        *
+        *  @note It makes menu state as hide.
+        *
+        *  @return true if it succeed, false otherwise.
+        *
+        *  @see activate()
+        */
        virtual bool deactivate();
+
+       /** @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.
+        *
+        *  @return true if it succeed, false otherwise.
+        */
        virtual bool set_content(Elm_Ctxpopup* ctxpopup);
+
+       /** @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 Elm_Ctxpopup *unset_content();
+
+       /**
+        *  @brief Return the active status of menu.
+        *
+        *  @return @c true if overlay is activated, @c false otherwise.
+        *
+        *  @see activate()
+        *  @see deactivate()
+        */
        virtual bool is_activated();
 
+       /**
+        *  @brief Get a base window of viewmgr.
+        *
+        *  @return viewmgr's window object.
+        */
        virtual Evas_Object *get_base();
+
+       /**
+        *  @brief Get current menu's degree.
+        *
+        *  @return Current rotation degree, -1 if it fails to get degree information.
+        */
        virtual int get_degree();
 
 protected:
+       ///Constructor.
        ui_menu(ui_view *view);
+
+       ///Destructor.
        virtual ~ui_menu();
+
+       /**
+        *  @brief Get a base window of viewmgr.
+        *
+        *  @return viewmgr's window object.
+        */
        Elm_Win *get_window();
 
 private:
index 9b0233e6e173a6469c0ea82fe355881375285327..52132ee4301c5f7dfc6890b2c0e21f3a9b24ff39 100644 (file)
@@ -38,19 +38,76 @@ class ui_view;
 class ui_popup : public ui_base_overlay
 {
 public:
+       ///Constructor.
        ui_popup(ui_view *view);
+
+       ///Destructor.
        virtual ~ui_popup();
 
+       /** @brief popup activate.
+        *
+        *  @note It makes popup state as show.
+        *
+        *  @return true if it succeed, false otherwise.
+        *
+        *  @see deactivate()
+        */
        virtual bool activate();
+
+       /** @brief popup deactivate.
+        *
+        *  @note It makes popup state as hide.
+        *
+        *  @return true if it succeed, false otherwise.
+        *
+        *  @see activate()
+        */
        virtual bool deactivate();
+
+       /** @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.
+        *
+        *  @return true if it succeed, false otherwise.
+        */
        virtual bool set_content(Elm_Popup* 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.
+        */
        virtual Elm_Popup *unset_content();
+
+       /**
+        *  @brief Return the active status of popup.
+        *
+        *  @return @c true if overlay is activated, @c false otherwise.
+        *
+        *  @see activate()
+        *  @see deactivate()
+        */
        virtual bool is_activated();
 
+       /**
+        *  @brief Get a base window of viewmgr.
+        *
+        *  @return viewmgr's window object.
+        */
        virtual Evas_Object *get_base();
+
+       /**
+        *  @brief Get current popup's degree.
+        *
+        *  @return Current rotation degree, -1 if it fails to get degree information.
+        */
        virtual int get_degree();
 
 protected:
+       /**
+        *  @brief Get a base window of viewmgr.
+        *
+        *  @return viewmgr's window object.
+        */
        virtual Elm_Win *get_window();
 
 private:
index 063fd313e4adddde72e52ba6bc8fb82af5547e02..1da1cff94b59e3107559a48aa76e1f134b5dec3f 100644 (file)
@@ -36,32 +36,162 @@ namespace efl_viewmanager
 class ui_standard_view: public ui_view
 {
 public:
+       ///Constructor.
        ui_standard_view(const char *name = NULL);
+
+       ///Destructor.
        virtual ~ui_standard_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"
+        *
+        *  @return true if it succeed, false otherwise.
+        */
        bool set_content(Evas_Object *content, const char *title = NULL);
+
+       /** @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".
+        *  @param subtitle  The label in the subtitle area. The name of the subtitle label part is "elm.text.subtitle".
+        *  @param title_left_btn The button in the left part of title area.
+        *  @param title_right_btn The button in the right part of title area.
+        *
+        *  @return true if it succeed, false otherwise.
+        */
        bool set_content(Evas_Object *content, const char *title, const char *subtitle, Elm_Button *title_left_btn, Elm_Button *title_right_btn);
+
+       /**
+        *  @brief This is for setting title badge text.
+        *
+        *  @param text The label in the title badge area.
+        */
        bool set_title_badge(const char *text);
+
+       /**
+        *  @brief This is for setting subtitle text.
+        *
+        *  @param text The label in the subtitle area.
+        */
        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.
+        */
        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.
+        */
        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.
+        */
        bool set_title(const char *text);
+
+       /**
+        *  @brief This is for setting toolbar below title.
+        *
+        *  @param toolbar Toolbar object.
+        */
        bool set_toolbar(Elm_Toolbar *toolbar);
+
+       /**
+        *  @brief This is handling title visible state.
+        *
+        *  @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.
+        */
        bool set_title_visible(bool visible, bool anim);
+
+       /**
+        *  @brief This is for unsetting a content of the view.
+        *
+        *  @return A previous content. If it wasn't, return value will be @c NULL.
+        */
        Evas_Object *unset_content();
+
+       /**
+        *  @brief This is for unsetting a title left button of title area.
+        *
+        *  @return A previous content. If it wasn't, return value will be @c NULL.
+        */
        Elm_Button *unset_title_left_btn();
+
+       /**
+        *  @brief This is for unsetting a title right button of title area.
+        *
+        *  @return A previous content. If it wasn't, return value will be @c NULL.
+        */
        Elm_Button *unset_title_right_btn();
+
+       /**
+        *  @brief This is for unsetting a toolbar.
+        *
+        *  @return A previous content. If it wasn't, return value will be @c NULL.
+        */
        Elm_Toolbar *unset_toolbar();
 
+       /**
+        *  @brief Return a title left button of the view.
+        *
+        *  @return title left button of the view.
+        */
        Elm_Button *get_title_left_btn();
+
+       /**
+        *  @brief Return a title right button of the view.
+        *
+        *  @return title right button of the view.
+        */
        Elm_Button *get_title_right_btn();
+
+       /**
+        *  @brief Return a toolbar of the view.
+        *
+        *  @return toolbar of the view.
+        */
        Elm_Toolbar *get_toolbar();
 
+       /**
+        *  @brief Get a base layout of viewmgr.
+        *
+        *  @return viewmgr's base layout object.
+        */
        virtual Evas_Object *get_base();
 
 protected:
+       /**
+        *  @brief view load state.
+        *
+        *  @note this state will be triggered by ui_iface_viewmgr.
+        *
+        */
        virtual void on_load();
+
+       /** @brief view unload state.
+        *
+        *  @note this state will be triggered by ui_iface_viewmgr.
+        *
+        */
        virtual void on_unload();
+
+       /** @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.
+        */
        virtual void set_event_block(bool block);
 
 private:
index 20b62eef878f40ce269aec31ea3cc4aab07e3808..48156e77d3805e9ee2b1f2425dc575f5df86755e 100644 (file)
@@ -36,18 +36,82 @@ class ui_key_listener;
 class ui_view: public ui_base_view
 {
 public:
+       ///Constructor.
        ui_view(const char *name = NULL);
+
+       ///Destructor.
        virtual ~ui_view();
 
+       /**
+        *  @brief Get menu object.
+        *
+        *  @return menu object if any.
+        */
        const ui_menu *get_menu();
 
 protected:
+       /**
+        *  @brief This is making ui_menu instance.
+        *
+        *  @note It creates ui_menu instance, if there is no 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.
+        */
        virtual ui_menu *on_menu_pre();
+
+       /**
+        *  @brief Activate menu.
+        *
+        *  @note It calls activate() for posting menu. If there is a menu instance.
+        */
        virtual void on_menu_post();
+
+       /**
+        *  @brief H/W back 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.
+        *
+        *  @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.
+        *
+        *  @note This state will be called when view rotation changed.
+        *
+        *  @param degree Current view's degree.
+        *
+        *  @see on_portrait()
+        *  @see on_landscpae()
+        */
        virtual void on_rotate(int degree);
+
+       /**
+        *  @brief view portrait state.
+        *
+        *  @note This state will be called when view rotation changed to portrait.
+        *
+        *  @see on_landscpae()
+        *  @see on_rotate()
+        */
        virtual void on_portrait();
+
+       /**
+        *  @brief view landscape state.
+        *
+        *  @note This state will be called when view rotation changed to landscape.
+        *
+        *  @see on_portrait()
+        *  @see on_rotate()
+        */
        virtual void on_landscape();
 
        /** @brief view deactivate state.
@@ -58,7 +122,18 @@ protected:
        virtual void on_deactivate();
 
 private:
+       /**
+        *  @brief Push given popup instance in the internal popup stack.
+        *
+        *  @param popup ui_popup instance
+        */
        void connect_popup(ui_popup *popup);
+
+       /**
+        *  @brief pop given popup instance in the internal popup stack.
+        *
+        *  @param popup ui_popup instance
+        */
        void disconnect_popup(ui_popup *popup);
 
        _UI_DECLARE_PRIVATE_IMPL(ui_view);
index b14b3e1333c1fab8c7c0c35233f0125a0146e567..e41ab32ce344c9645ea7dbe440a6c8def216fe85 100644 (file)
@@ -35,14 +35,49 @@ class ui_base_viewmgr;
 class ui_base_key_listener
 {
 protected:
+       ///Constructor.
        ui_base_key_listener(ui_base_viewmgr *viewmgr);
+
+       ///Destructor.
        virtual ~ui_base_key_listener();
 
+       /**
+        *  @brief Init H/W key listener to grab key event(back key).
+        *
+        *  @note It makes evas_object_rectangle and add key up callback.
+        *
+        *  @see term()
+        */
        virtual bool init();
+
+       /**
+        *  @brief Terminate H/W key listener.
+        *
+        *  @note Delete key grabber(evas_object_rectangle).
+        *
+        *  @see init()
+        */
        virtual bool term();
+
+       /**
+        *  @brief Check the menu key event.
+        *
+        *  @note This is checking H/W key is menu or not.
+        */
        virtual void extend_event_proc(ui_base_view *view, Evas_Event_Key_Down *ev) {}
 
+       /**
+        *  @brief Return the viewmgr instance.
+        *
+        *  @return ui_base_viewmgr instance.
+        */
        ui_base_viewmgr *get_viewmgr();
+
+       /**
+        *  @brief Return the key grabber(evas_object_rectangle).
+        *
+        *  @return key grabber object.
+        */
        Evas_Object *get_keygrab_obj();
 
 private:
index 3781c80b75b4e02a431cea8adebe44ecb36c4c12..f81854b54e81d17fa2936cfac2e8f499e0b75bc7 100644 (file)
@@ -35,7 +35,10 @@ class ui_base_view;
 class ui_base_overlay: public ui_iface_overlay
 {
 protected:
+       ///Constructor.
        ui_base_overlay(ui_base_view *view);
+
+       ///Destructor.
        virtual ~ui_base_overlay();
 };
 
index 75937e0091162af7cbc7cbff6c2c5541d986d8f6..607d751a2ef768ac04531ba8799450e3b22d62f2 100644 (file)
@@ -84,8 +84,36 @@ protected:
         */
        virtual void set_event_block(bool block);
 
+       /**
+        *  @brief view rotate changed.
+        *
+        *  @note This state will be called when view rotation changed.
+        *
+        *  @param degree Current view's degree.
+        *
+        *  @see on_portrait()
+        *  @see on_landscpae()
+        */
        virtual void on_rotate(int degree);
+
+       /**
+        *  @brief view portrait state.
+        *
+        *  @note This state will be called when view rotation changed to portrait.
+        *
+        *  @see on_landscpae()
+        *  @see on_rotate()
+        */
        virtual void on_portrait();
+
+       /**
+        *  @brief view landscape state.
+        *
+        *  @note This state will be called when view rotation changed to landscape.
+        *
+        *  @see on_portrait()
+        *  @see on_rotate()
+        */
        virtual void on_landscape();
 
 private:
index 024db211fb1aae410076f510f0faa09bc7dc5279..f37fa19f3ff5d179feb1eb6f89e1fbccb107710d 100644 (file)
@@ -153,11 +153,17 @@ public:
        Evas_Object *get_base();
 
 protected:
+       /**
+        *  @brief Set indicator of the view.
+        *
+        *  @param indicator The mode to set, one of #ui_view_indicator
+        */
        bool set_indicator(ui_view_indicator indicator);
 
        ///Constructor
        ui_base_viewmgr(const char *pkg, ui_base_key_listener *key_listener);
        ui_base_viewmgr(const char *pkg);
+
        ///Destructor.
        virtual ~ui_base_viewmgr();
 
index 981edf0668082e9529289b7ba0e7c7dbbb3e5f2a..21ca0f4791c84bc4bcb2d69ed9b55bb391be2753 100644 (file)
@@ -35,18 +35,78 @@ class ui_iface_view;
 class ui_iface_overlay: public ui_iface_rotatable
 {
 public:
+       /** @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.
+        *
+        *  @param content a new content. It allows @c NULL for canceling the previous content.
+        *
+        *  @return true if it succeed, false otherwise.
+        */
        virtual bool set_content(T content);
+
+       /** @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.
+        *
+        *  @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.
+        *
+        *  @note It makes overlay state as show.
+        *
+        *  @return true if it succeed, false otherwise.
+        *
+        *  @see deactivate()
+        */
        virtual bool activate();
+
+       /** @brief Overlay deactivate.
+        *
+        *  @note It makes overlay state as hide.
+        *
+        *  @return true if it succeed, false otherwise.
+        *
+        *  @see activate()
+        */
        virtual bool deactivate();
+
+       /**
+        *  @brief Return the active status of overlay.
+        *
+        *  @return @c true if overlay is activated, @c false otherwise.
+        *
+        *  @see activate()
+        *  @see deactivate()
+        */
        virtual bool is_activated();
 
+       /**
+        *  @brief Return a view which is matched with the overlay.
+        *
+        *  @return The view which is matched with overlay.
+        */
        ui_iface_view *get_view();
+
+       /** @brief Return a content instance of this overlay.
+        *
+        *  @return content of overlay.
+        */
        virtual T get_content();
 
 protected:
+       ///Constructor.
        ui_iface_overlay(ui_iface_view *view);
+
+       ///Destructor.
        virtual ~ui_iface_overlay();
 
 private:
index da2e56973e0363a59e1e4ac341269b0350411632..fda9abd0870ed049e9610830a68279ccaf0bff3d 100644 (file)
@@ -31,8 +31,36 @@ namespace ui_viewmanager
 class ui_iface_rotatable
 {
 protected:
+       /**
+        *  @brief view portrait state.
+        *
+        *  @note This state will be called when view rotation changed to portrait.
+        *
+        *  @see on_landscpae()
+        *  @see on_rotate()
+        */
        virtual void on_portrait() {}
+
+       /**
+        *  @brief view landscape state.
+        *
+        *  @note This state will be called when view rotation changed to landscape.
+        *
+        *  @see on_portrait()
+        *  @see on_rotate()
+        */
        virtual void on_landscape() {}
+
+       /**
+        *  @brief view rotate changed.
+        *
+        *  @note This state will be called when view rotation changed.
+        *
+        *  @param degree Current view's degree.
+        *
+        *  @see on_portrait()
+        *  @see on_landscpae()
+        */
        virtual void on_rotate(int degree) {}
 
 public:
index 3e17f9b4b9d9e97fe223b39ebe7289d144656517..60ad78511db4a5e853a9f3cdfc4980dc09d04d5c 100644 (file)
@@ -143,6 +143,11 @@ public:
         */
        ui_view_indicator get_indicator();
 
+       /** @brief 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:
@@ -220,7 +225,21 @@ protected:
        bool get_event_block();
 
 private:
+
+       /** @brief Connect with given viewmgr.
+        *
+        *  @return true if it succeed, false otherwise.
+        *
+        *  @see get_viewmgr()
+        */
        bool set_viewmgr(ui_iface_viewmgr *viewmgr);
+
+       /** @brief Return the viewmgr instance.
+        *
+        *  @return ui_iface_viewmgr instance.
+        *
+        *  @see set_viewmgr()
+        */
        ui_iface_viewmgr *get_viewmgr();
 
        _UI_DECLARE_PRIVATE_IMPL(ui_iface_view);
index abb9251f73506f6d803a7cce4e67f9cf3d26486c..7ebe660c590478ba65658b04380004aab7ecd09c 100644 (file)
 
 #include <dlog.h>
 
+/**
+ * Possible values for indicator state.
+ */
 enum ui_view_indicator
 {
-       UI_VIEW_INDICATOR_DEFAULT = 0,
-       UI_VIEW_INDICATOR_OPTIMAL,
-       UI_VIEW_INDICATOR_OVERLAP,
-       UI_VIEW_INDICATOR_HIDE,
-       UI_VIEW_INDICATOR_SHOW,
+       UI_VIEW_INDICATOR_DEFAULT = 0, ///<Opaque indicator
+       UI_VIEW_INDICATOR_OPTIMAL,     ///<Transparent indicator
+       UI_VIEW_INDICATOR_OVERLAP,     ///<Overlap indicator
+       UI_VIEW_INDICATOR_HIDE,        ///<Indicator hide
+       UI_VIEW_INDICATOR_SHOW,        ///<Indicator show
        UI_VIEW_INDICATOR_LAST
 };
 
+/**
+ * Possible values for view state.
+ */
 enum ui_view_state
 {
        UI_VIEW_STATE_LOAD = 0,        ///< Load state
index 3ab402d5a4cabb8b6fcb4b94ef144e4180b73497..cdf3c9d819bb132f0f043bd2c1d39352292180f7 100644 (file)
@@ -88,6 +88,9 @@ public:
         */
        static bool need_soft_key();
 
+       /**
+        *  @brief Return viewmgr instance.
+        */
        static ui_iface_viewmgr* get_instance();
 
 protected: