From: Woochanlee Date: Wed, 11 Mar 2020 09:23:31 +0000 (+0900) Subject: ui_viewmgr: Deprecated ui_viewmgr APIs. X-Git-Tag: submit/tizen/20200312.001621^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4e3dac6eb81830f6a6d6ad627d60854290ae0edd;p=platform%2Fcore%2Fuifw%2Fui-viewmgr.git ui_viewmgr: Deprecated ui_viewmgr APIs. Change-Id: I22bd5a17d7e877fdf33609fc0e0c7c457f92131e --- diff --git a/src/include/efl/mobile/c/ui_application.h b/src/include/efl/mobile/c/ui_application.h index de9c924..a856222 100644 --- a/src/include/efl/mobile/c/ui_application.h +++ b/src/include/efl/mobile/c/ui_application.h @@ -8,11 +8,13 @@ extern "C" { /** * @defgroup CAPI_UI_APPLICATION UI Application * @ingroup CAPI_UI_VIEWMGR_MODULE + * @deprecated Deprecated since tizen 6.0. * @brief This module provides functionalities about ui_application. * @{ */ /** + * @deprecated Deprecated since tizen 6.0. * @brief The ui_application event callback function signature. * @since_tizen 3.0 * @@ -28,6 +30,7 @@ extern "C" { typedef bool (*ui_application_event_cb)(void *user_data, void *event_info); /** + * @deprecated Deprecated since tizen 6.0. * @brief Enumeration for ui_application event type. * @remarks PRE events are designed for overriding the default behavior of the events. * Normally, ui_application triggers ui_viewmgr actions on those event time. @@ -50,6 +53,7 @@ typedef enum { } ui_application_event_type_e; /** + * @deprecated Deprecated since tizen 6.0. * @brief Struct for ui_application event handle. * @since_tizen 3.0 */ @@ -60,6 +64,7 @@ typedef struct } ui_application_event_s; /** + * @deprecated Deprecated since tizen 6.0. * @brief Initializes ui_application. * @details This function initializes ui_application and ui_viewmgr. * @since_tizen 3.0 @@ -76,6 +81,7 @@ typedef struct EAPI int ui_application_init(); /** + * @deprecated Deprecated since tizen 6.0. * @brief Runs ui_application. This triggers application main loop. * @remarks This wraps ui_app_main() function. You don't need to call it manually. * @since_tizen 3.0 @@ -104,6 +110,7 @@ EAPI int ui_application_init(); EAPI int ui_application_run(int argc, char **argv, ui_application_event_s *events, int count, void *user_data); /** + * @deprecated Deprecated since tizen 6.0. * @brief Deinitializes ui_application. * @remarks This wraps ui_app_exit() function. You don't need to call it manually. * @since_tizen 3.0 diff --git a/src/include/efl/mobile/c/ui_menu.h b/src/include/efl/mobile/c/ui_menu.h index ec1ff5a..711fbaf 100644 --- a/src/include/efl/mobile/c/ui_menu.h +++ b/src/include/efl/mobile/c/ui_menu.h @@ -8,11 +8,13 @@ extern "C" { /** * @defgroup CAPI_UI_MENU UI Menu * @ingroup CAPI_UI_VIEWMGR_MODULE + * @deprecated Deprecated since tizen 6.0. * @brief This module provides functionalities about ui_menu. * @{ */ /** + * @deprecated Deprecated since tizen 6.0. * @brief Replaces or sets a content of an ui_menu. * @since_tizen 3.0 * @@ -29,6 +31,7 @@ extern "C" { EAPI int ui_menu_set_content(ui_menu *menu, Elm_Ctxpopup *content); /** + * @deprecated Deprecated since tizen 6.0. * @brief Returns an ui_menu content. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -47,6 +50,7 @@ EAPI int ui_menu_set_content(ui_menu *menu, Elm_Ctxpopup *content); EAPI Elm_Ctxpopup *ui_menu_get_content(const ui_menu *menu); /** + * @deprecated Deprecated since tizen 6.0. * @brief Unsets an ui_menu content. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -65,6 +69,7 @@ EAPI Elm_Ctxpopup *ui_menu_get_content(const ui_menu *menu); EAPI Elm_Ctxpopup *ui_menu_unset_content(ui_menu *menu); /** + * @deprecated Deprecated since tizen 6.0. * @brief Activates an ui_menu. * @details It makes ui_menu state as show. * @since_tizen 3.0 @@ -81,6 +86,7 @@ EAPI Elm_Ctxpopup *ui_menu_unset_content(ui_menu *menu); EAPI int ui_menu_activate(ui_menu *menu); /** + * @deprecated Deprecated since tizen 6.0. * @brief Deactivates an ui_menu. * @details It makes ui_menu state as hide. * @since_tizen 3.0 @@ -97,6 +103,7 @@ EAPI int ui_menu_activate(ui_menu *menu); EAPI int ui_menu_deactivate(ui_menu *menu); /** + * @deprecated Deprecated since tizen 6.0. * @brief Returns the active status of ui_menu. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -115,6 +122,7 @@ EAPI int ui_menu_deactivate(ui_menu *menu); EAPI bool ui_menu_get_activated(const ui_menu *menu); /** + * @deprecated Deprecated since tizen 6.0. * @brief Gets a base object of an ui_menu. * @details Normally, A base object can be used for a parent of ui_menu content. * @since_tizen 3.0 @@ -132,6 +140,7 @@ EAPI bool ui_menu_get_activated(const ui_menu *menu); EAPI Eo *ui_menu_get_base(const ui_menu *menu); /** + * @deprecated Deprecated since tizen 6.0. * @brief Gets a current ui_menu's degree. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -148,6 +157,7 @@ EAPI Eo *ui_menu_get_base(const ui_menu *menu); EAPI int ui_menu_get_degree(const ui_menu *menu); /** + * @deprecated Deprecated since tizen 6.0. * @brief Returns a view which is matched with this ui_menu. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. diff --git a/src/include/efl/mobile/c/ui_mobile_viewmanager.h b/src/include/efl/mobile/c/ui_mobile_viewmanager.h index 37c5076..479d350 100644 --- a/src/include/efl/mobile/c/ui_mobile_viewmanager.h +++ b/src/include/efl/mobile/c/ui_mobile_viewmanager.h @@ -20,6 +20,7 @@ /** * @internal * @defgroup CAPI_UI_VIEWMGR UI Viewmanager + * @deprecated Deprecated since tizen 6.0. * @brief This module provides functionalities to manage view of application's. * @section UI_VIEWMGR_GROUP_HEADER Required Header * \#include diff --git a/src/include/efl/mobile/c/ui_popup.h b/src/include/efl/mobile/c/ui_popup.h index 9467b47..3109d1f 100644 --- a/src/include/efl/mobile/c/ui_popup.h +++ b/src/include/efl/mobile/c/ui_popup.h @@ -8,11 +8,13 @@ extern "C" { /** * @defgroup CAPI_UI_POPUP UI Popup * @ingroup CAPI_UI_VIEWMGR_MODULE + * @deprecated Deprecated since tizen 6.0. * @brief This module provides functionalities about ui_popup. * @{ */ /** + * @deprecated Deprecated since tizen 6.0. * @brief Creates an ui_popup. * @since_tizen 3.0 * @remarks The instance of ui_popup is subordinated to the given @a ui_view. If the given @a ui_view is hidden or deactivated, this ui_popup will be also do @@ -32,6 +34,7 @@ extern "C" { EAPI ui_popup *ui_popup_create(ui_view *view); /** + * @deprecated Deprecated since tizen 6.0. * @brief Destroys an ui_popup. * @details Destroy an @a given ui_popup instance. * @since_tizen 3.0 @@ -47,6 +50,7 @@ EAPI ui_popup *ui_popup_create(ui_view *view); EAPI int ui_popup_destroy(ui_popup *popup); /** + * @deprecated Deprecated since tizen 6.0. * @brief Replaces or set a content of an ui_popup. * @since_tizen 3.0 * @@ -63,6 +67,7 @@ EAPI int ui_popup_destroy(ui_popup *popup); EAPI int ui_popup_set_content(ui_popup *popup, Elm_Popup *content); /** + * @deprecated Deprecated since tizen 6.0. * @brief Returns a content object of ui_popup. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -81,6 +86,7 @@ EAPI int ui_popup_set_content(ui_popup *popup, Elm_Popup *content); EAPI Elm_Popup *ui_popup_get_content(const ui_popup *popup); /** + * @deprecated Deprecated since tizen 6.0. * @brief Unsets an ui_popup content. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -99,6 +105,7 @@ EAPI Elm_Popup *ui_popup_get_content(const ui_popup *popup); EAPI Elm_Popup *ui_popup_unset_content(ui_popup *popup); /** + * @deprecated Deprecated since tizen 6.0. * @brief Activates an ui_popup. * @details It makes ui_popup state as show. * @since_tizen 3.0 @@ -116,6 +123,7 @@ EAPI Elm_Popup *ui_popup_unset_content(ui_popup *popup); EAPI int ui_popup_activate(ui_popup *popup); /** + * @deprecated Deprecated since tizen 6.0. * @brief Deactivates an ui_popup. * @details It makes ui_popup state as hide. * @since_tizen 3.0 @@ -133,6 +141,7 @@ EAPI int ui_popup_activate(ui_popup *popup); EAPI int ui_popup_deactivate(ui_popup *popup); /** + * @deprecated Deprecated since tizen 6.0. * @brief Returns the active status of ui_popup. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -151,6 +160,7 @@ EAPI int ui_popup_deactivate(ui_popup *popup); EAPI bool ui_popup_get_activated(const ui_popup *popup); /** + * @deprecated Deprecated since tizen 6.0. * @brief Gets a base object of an ui_popup. * @details Normally, A base object can be used for a parent of ui_popup content. * @since_tizen 3.0 @@ -168,6 +178,7 @@ EAPI bool ui_popup_get_activated(const ui_popup *popup); EAPI Eo *ui_popup_get_base(const ui_popup *popup); /** + * @deprecated Deprecated since tizen 6.0. * @brief Gets current ui_popup's degree. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -184,6 +195,7 @@ EAPI Eo *ui_popup_get_base(const ui_popup *popup); EAPI int ui_popup_get_degree(const ui_popup *popup); /** + * @deprecated Deprecated since tizen 6.0. * @brief Returns a view which is matched with the ui_popup. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. diff --git a/src/include/efl/mobile/c/ui_standard_view.h b/src/include/efl/mobile/c/ui_standard_view.h index 71648fe..b142b76 100644 --- a/src/include/efl/mobile/c/ui_standard_view.h +++ b/src/include/efl/mobile/c/ui_standard_view.h @@ -8,11 +8,13 @@ extern "C" { /** * @defgroup CAPI_UI_STANDARD_VIEW UI Standard View * @ingroup CAPI_UI_VIEWMGR_MODULE + * @deprecated Deprecated since tizen 6.0. * @brief This module provides functionalities about ui_standard_view. * @{ */ /** + * @deprecated Deprecated since tizen 6.0. * @brief Creates an ui_standard_view. * @since_tizen 3.0 * @remarks If you don't set a view name, you could not look up the view with it's name. @@ -32,6 +34,7 @@ extern "C" { EAPI ui_standard_view *ui_standard_view_create(const char *name); /** + * @deprecated Deprecated since tizen 6.0. * @brief Sets a title text. * @since_tizen 3.0 * @@ -48,6 +51,7 @@ EAPI ui_standard_view *ui_standard_view_create(const char *name); EAPI int ui_standard_view_set_title(ui_standard_view *view, const char *text); /** + * @deprecated Deprecated since tizen 6.0. * @brief Sets a subtitle text. * @since_tizen 3.0 * @@ -64,6 +68,7 @@ EAPI int ui_standard_view_set_title(ui_standard_view *view, const char *text); EAPI int ui_standard_view_set_sub_title(ui_standard_view *view, const char *text); /** + * @deprecated Deprecated since tizen 6.0. * @brief Sets a title badge text. * @since_tizen 3.0 * @@ -80,6 +85,7 @@ EAPI int ui_standard_view_set_sub_title(ui_standard_view *view, const char *text EAPI int ui_standard_view_set_title_badge(ui_standard_view *view, const char *badge_text); /** + * @deprecated Deprecated since tizen 6.0. * @brief Sets a title_right_btn. * @since_tizen 3.0 * @@ -98,6 +104,7 @@ EAPI int ui_standard_view_set_title_badge(ui_standard_view *view, const char *ba EAPI int ui_standard_view_set_title_right_btn(ui_standard_view *view, Elm_Button *title_right_btn); /** + * @deprecated Deprecated since tizen 6.0. * @brief Returns a title right button of the view. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -116,6 +123,7 @@ EAPI int ui_standard_view_set_title_right_btn(ui_standard_view *view, Elm_Button EAPI Elm_Button *ui_standard_view_get_title_right_btn(const ui_standard_view *view); /** + * @deprecated Deprecated since tizen 6.0. * @brief Unsets a title right button of title area. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -135,6 +143,7 @@ EAPI Elm_Button *ui_standard_view_get_title_right_btn(const ui_standard_view *vi EAPI Elm_Button *ui_standard_view_unset_title_right_btn(ui_standard_view *view); /** + * @deprecated Deprecated since tizen 6.0. * @brief Sets a title_left_btn. * @since_tizen 3.0 * @@ -153,6 +162,7 @@ EAPI Elm_Button *ui_standard_view_unset_title_right_btn(ui_standard_view *view); EAPI int ui_standard_view_set_title_left_btn(ui_standard_view *view, Elm_Button *title_left_btn); /** + * @deprecated Deprecated since tizen 6.0. * @brief Returns a title left button of the view. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -171,6 +181,7 @@ EAPI int ui_standard_view_set_title_left_btn(ui_standard_view *view, Elm_Button EAPI Elm_Button *ui_standard_view_get_title_left_btn(const ui_standard_view *view); /** + * @deprecated Deprecated since tizen 6.0. * @brief Unsets a title left button of title area. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -190,6 +201,7 @@ EAPI Elm_Button *ui_standard_view_get_title_left_btn(const ui_standard_view *vie EAPI Elm_Button *ui_standard_view_unset_title_left_btn(ui_standard_view *view); /** + * @deprecated Deprecated since tizen 6.0. * @brief Sets a toolbar below title. * @since_tizen 3.0 * @@ -209,6 +221,7 @@ EAPI Elm_Button *ui_standard_view_unset_title_left_btn(ui_standard_view *view); EAPI int ui_standard_view_set_toolbar(ui_standard_view *view, Elm_Toolbar *toolbar); /** + * @deprecated Deprecated since tizen 6.0. * @brief Returns a toolbar of the view. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -227,6 +240,7 @@ EAPI int ui_standard_view_set_toolbar(ui_standard_view *view, Elm_Toolbar *toolb EAPI Elm_Toolbar *ui_standard_view_get_toolbar(const ui_standard_view *view); /** + * @deprecated Deprecated since tizen 6.0. * @brief Unsets a toolbar. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -245,6 +259,7 @@ EAPI Elm_Toolbar *ui_standard_view_get_toolbar(const ui_standard_view *view); EAPI Elm_Toolbar *ui_standard_view_unset_toolbar(ui_standard_view *view); /** + * @deprecated Deprecated since tizen 6.0. * @brief Controls the title visible state. * @since_tizen 3.0 * diff --git a/src/include/efl/mobile/c/ui_tab_view.h b/src/include/efl/mobile/c/ui_tab_view.h index 391094c..5561a8b 100644 --- a/src/include/efl/mobile/c/ui_tab_view.h +++ b/src/include/efl/mobile/c/ui_tab_view.h @@ -8,11 +8,13 @@ extern "C" { /** * @defgroup CAPI_UI_TAB_VIEW UI Tab View * @ingroup CAPI_UI_VIEWMGR_MODULE + * @deprecated Deprecated since tizen 6.0. * @brief This module provides functionalities about ui_tab_view. * @{ */ /** + * @deprecated Deprecated since tizen 6.0. * @brief The ui_tab_view event callback function signature. * @since_tizen 3.0 * @@ -26,6 +28,7 @@ extern "C" { typedef void (*ui_tab_view_event_cb)(ui_tab_view *view, int id, void *user_data); /** + * @deprecated Deprecated since tizen 6.0. * @brief Enumeration for ui_tab_view event type. * @since_tizen 3.0 */ @@ -36,6 +39,7 @@ typedef enum } ui_tab_view_event_type_e; /** + * @deprecated Deprecated since tizen 6.0. * @brief Creates an ui_tab_view. * @since_tizen 3.0 * @remarks if you don't set a view name, you could not look up the view with it's name. @@ -55,6 +59,7 @@ typedef enum EAPI ui_tab_view *ui_tab_view_create(const char *name); /** + * @deprecated Deprecated since tizen 6.0. * @brief Sets callback functions for handling tab view events. * @since_tizen 3.0 * @remarks To unset the events, you can pass @c NULL to @a event_cb. @@ -73,6 +78,7 @@ EAPI ui_tab_view *ui_tab_view_create(const char *name); EAPI int ui_tab_view_set_event_cb(ui_tab_view *view, ui_tab_view_event_type_e event_type, ui_tab_view_event_cb event_cb, void *user_data); /** + * @deprecated Deprecated since tizen 6.0. * @brief Adds new tab item in tab view. * @since_tizen 3.0 * @remarks The value specified by id is the index that points to item. @@ -90,6 +96,7 @@ EAPI int ui_tab_view_set_event_cb(ui_tab_view *view, ui_tab_view_event_type_e ev EAPI int ui_tab_view_add_tab(ui_tab_view *view, int id); /** + * @deprecated Deprecated since tizen 6.0. * @brief Sets icon of the tab item. * @since_tizen 3.0 * @@ -107,6 +114,7 @@ EAPI int ui_tab_view_add_tab(ui_tab_view *view, int id); EAPI int ui_tab_view_set_tab_icon(ui_tab_view *view, int id, const char *icon); /** + * @deprecated Deprecated since tizen 6.0. * @brief Sets label of the tab item. * @since_tizen 3.0 * @@ -124,6 +132,7 @@ EAPI int ui_tab_view_set_tab_icon(ui_tab_view *view, int id, const char *icon); EAPI int ui_tab_view_set_tab_label(ui_tab_view *view, int id, const char *label); /** + * @deprecated Deprecated since tizen 6.0. * @brief Sets content of the tab item. * @since_tizen 3.0 * @@ -141,6 +150,7 @@ EAPI int ui_tab_view_set_tab_label(ui_tab_view *view, int id, const char *label) EAPI int ui_tab_view_set_tab_content(ui_tab_view *view, int id, Eo *content); /** + * @deprecated Deprecated since tizen 6.0. * @brief Gets icon of the tab item. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -160,6 +170,7 @@ EAPI int ui_tab_view_set_tab_content(ui_tab_view *view, int id, Eo *content); EAPI const char *ui_tab_view_get_tab_icon(ui_tab_view *view, int id); /** + * @deprecated Deprecated since tizen 6.0. * @brief Gets label of the tab item. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -179,6 +190,7 @@ EAPI const char *ui_tab_view_get_tab_icon(ui_tab_view *view, int id); EAPI const char *ui_tab_view_get_tab_label(ui_tab_view *view,int id); /** + * @deprecated Deprecated since tizen 6.0. * @brief Gets content of the tab item. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -198,6 +210,7 @@ EAPI const char *ui_tab_view_get_tab_label(ui_tab_view *view,int id); EAPI Eo *ui_tab_view_get_tab_content(ui_tab_view *view, int id); /** + * @deprecated Deprecated since tizen 6.0. * @brief Unsets icon of the tab item. * @since_tizen 3.0 * @remarks The tab view height will be shrunk, If there is no icon in the tab item list. @@ -218,6 +231,7 @@ EAPI Eo *ui_tab_view_get_tab_content(ui_tab_view *view, int id); EAPI const char *ui_tab_view_unset_tab_icon(ui_tab_view *view, int id); /** + * @deprecated Deprecated since tizen 6.0. * @brief Unsets label of the tab item. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -237,6 +251,7 @@ EAPI const char *ui_tab_view_unset_tab_icon(ui_tab_view *view, int id); EAPI const char *ui_tab_view_unset_tab_label(ui_tab_view *view, int id); /** + * @deprecated Deprecated since tizen 6.0. * @brief Unsets content of the tab item. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -256,6 +271,7 @@ EAPI const char *ui_tab_view_unset_tab_label(ui_tab_view *view, int id); EAPI Eo *ui_tab_view_unset_tab_content(ui_tab_view *view, int id); /** + * @deprecated Deprecated since tizen 6.0. * @brief Gets selected tab item id. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -273,6 +289,7 @@ EAPI Eo *ui_tab_view_unset_tab_content(ui_tab_view *view, int id); EAPI int ui_tab_view_get_selected_tab(ui_tab_view *view); /** + * @deprecated Deprecated since tizen 6.0. * @brief Sets selected given tab item. * @since_tizen 3.0 * @@ -288,6 +305,7 @@ EAPI int ui_tab_view_get_selected_tab(ui_tab_view *view); EAPI int ui_tab_view_select_tab(ui_tab_view *view, int id); /** + * @deprecated Deprecated since tizen 6.0. * @brief Removes tab item. * @since_tizen 3.0 * diff --git a/src/include/efl/mobile/c/ui_view.h b/src/include/efl/mobile/c/ui_view.h index 8f0359e..9ecdd51 100644 --- a/src/include/efl/mobile/c/ui_view.h +++ b/src/include/efl/mobile/c/ui_view.h @@ -8,11 +8,13 @@ extern "C" { /** * @defgroup CAPI_UI_VIEW UI View * @ingroup CAPI_UI_VIEWMGR_MODULE + * @deprecated Deprecated since tizen 6.0. * @brief This module provides functionalities about ui_view. * @{ */ /** + * @deprecated Deprecated since tizen 6.0. * @brief The ui_view event callback function signature. * @since_tizen 3.0 * @@ -28,6 +30,7 @@ extern "C" { typedef bool (*ui_view_event_cb)(ui_view *view, void *user_data); /** + * @deprecated Deprecated since tizen 6.0. * @brief Enumeration for ui_view event type. * @since_tizen 3.0 */ @@ -63,6 +66,7 @@ typedef enum } ui_view_event_type_e; /** + * @deprecated Deprecated since tizen 6.0. * @brief Creates an ui_view. * @since_tizen 3.0 * @remarks If you don't set a view name, you could not look up the view with it's name. @@ -82,6 +86,7 @@ typedef enum EAPI ui_view *ui_view_create(const char *name); /** + * @deprecated Deprecated since tizen 6.0. * @brief Replaces or sets a content of ui_view. * @since_tizen 3.0 * @@ -98,6 +103,7 @@ EAPI ui_view *ui_view_create(const char *name); EAPI int ui_view_set_content(ui_view *view, Eo *content); /** + * @deprecated Deprecated since tizen 6.0. * @brief Returns a content of this view. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -116,6 +122,7 @@ EAPI int ui_view_set_content(ui_view *view, Eo *content); EAPI Eo *ui_view_get_content(const ui_view *view); /** + * @deprecated Deprecated since tizen 6.0. * @brief Unsets a ui_view content. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -134,6 +141,7 @@ EAPI Eo *ui_view_get_content(const ui_view *view); EAPI Eo *ui_view_unset_content(ui_view *view); /** + * @deprecated Deprecated since tizen 6.0. * @brief Sets callback functions for handling view events. * @since_tizen 3.0 * @remarks To unset the events, you can pass @c NULL to @a event_cb. @@ -152,6 +160,7 @@ EAPI Eo *ui_view_unset_content(ui_view *view); EAPI int ui_view_set_event_cb(ui_view *view, ui_view_event_type_e event_type, ui_view_event_cb event_cb, void *user_data); /** + * @deprecated Deprecated since tizen 6.0. * @brief Gets a base object of ui_view. * @since_tizen 3.0 * @remarks Normally, this base object can be used for a parent of a view content. @@ -169,6 +178,7 @@ EAPI int ui_view_set_event_cb(ui_view *view, ui_view_event_type_e event_type, ui EAPI Eo* ui_view_get_base(const ui_view *view); /** + * @deprecated Deprecated since tizen 6.0. * @brief Sets the indicator mode of a ui_view. * @since_tizen 3.0 * @@ -186,6 +196,7 @@ EAPI Eo* ui_view_get_base(const ui_view *view); EAPI int ui_view_set_indicator(ui_view *view, ui_view_indicator indicator); /** + * @deprecated Deprecated since tizen 6.0. * @brief Returns the indicator mode of this view. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -203,6 +214,7 @@ EAPI int ui_view_set_indicator(ui_view *view, ui_view_indicator indicator); EAPI ui_view_indicator ui_view_get_indicator(const ui_view *view); /** + * @deprecated Deprecated since tizen 6.0. * @brief Sets the array of view's available rotations. * @since_tizen 3.0 * @remarks Set an array of rotation values. @@ -223,6 +235,7 @@ EAPI ui_view_indicator ui_view_get_indicator(const ui_view *view); EAPI int ui_view_set_available_rotations(ui_view *view, const int *rotations, unsigned int count); /** + * @deprecated Deprecated since tizen 6.0. * @brief Gets the array of view's available rotations. * @since_tizen 3.0 * @remarks @c NULL will be returned if @a view or @a count is invalid. @@ -242,6 +255,7 @@ EAPI int ui_view_set_available_rotations(ui_view *view, const int *rotations, un EAPI const int *ui_view_get_available_rotations(const ui_view *view, unsigned int *count); /** + * @deprecated Deprecated since tizen 6.0. * @brief Sets content removable. * @since_tizen 3.0 * @@ -259,6 +273,7 @@ EAPI const int *ui_view_get_available_rotations(const ui_view *view, unsigned in EAPI int ui_view_set_removable_content(ui_view *view, bool removable); /** + * @deprecated Deprecated since tizen 6.0. * @brief Returns a state of removable content. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -276,6 +291,7 @@ EAPI int ui_view_set_removable_content(ui_view *view, bool removable); EAPI bool ui_view_get_removable_content(const ui_view *view); /** + * @deprecated Deprecated since tizen 6.0. * @brief Gets the current view's degree. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -292,6 +308,7 @@ EAPI bool ui_view_get_removable_content(const ui_view *view); EAPI int ui_view_get_degree(const ui_view *view); /** + * @deprecated Deprecated since tizen 6.0. * @brief Gets current view's orientation mode. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -309,6 +326,7 @@ EAPI int ui_view_get_degree(const ui_view *view); EAPI ui_view_orientation_mode ui_view_get_orientation_mode(const ui_view *view); /** + * @deprecated Deprecated since tizen 6.0. * @brief Sets transition style of a view. * @since_tizen 3.0 * @@ -328,6 +346,7 @@ EAPI ui_view_orientation_mode ui_view_get_orientation_mode(const ui_view *view); EAPI int ui_view_set_transition_style(ui_view *view, const char *style); /** + * @deprecated Deprecated since tizen 6.0. * @brief Returns a style name of this view. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -345,6 +364,7 @@ EAPI int ui_view_set_transition_style(ui_view *view, const char *style); EAPI const char *ui_view_get_transition_style(const ui_view *view); /** + * @deprecated Deprecated since tizen 6.0. * @brief Gets a ui_menu instance. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -361,6 +381,7 @@ EAPI const char *ui_view_get_transition_style(const ui_view *view); EAPI ui_menu *ui_view_get_menu(const ui_view *view); /** + * @deprecated Deprecated since tizen 6.0. * @brief Returns a name of this view. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -377,6 +398,7 @@ EAPI ui_menu *ui_view_get_menu(const ui_view *view); EAPI const char *ui_view_get_name(const ui_view *view); /** + * @deprecated Deprecated since tizen 6.0. * @brief Returns a state of this view. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -394,6 +416,7 @@ EAPI const char *ui_view_get_name(const ui_view *view); EAPI ui_view_state ui_view_get_state(const ui_view *view); /** + * @deprecated Deprecated since tizen 6.0. * @brief Destroys an ui_view. * @since_tizen 3.0 * diff --git a/src/include/efl/mobile/c/ui_viewmgr.h b/src/include/efl/mobile/c/ui_viewmgr.h index f5bb641..cf45aaa 100644 --- a/src/include/efl/mobile/c/ui_viewmgr.h +++ b/src/include/efl/mobile/c/ui_viewmgr.h @@ -8,11 +8,13 @@ extern "C" { /** * @defgroup CAPI_UI_VIEWMGR UI Viewmgr * @ingroup CAPI_UI_VIEWMGR_MODULE + * @deprecated Deprecated since tizen 6.0. * @brief This module provides functionalities about ui_viewmgr. * @{ */ /** + * @deprecated Deprecated since tizen 6.0. * @brief Pushes a new view into ui_viewmgr. This function is used for when application switches a current view to a new one. * @details Normally, the current view will be hidden by a new view. In default, when user calls this API, view will be switched to @a view instantly, * only when ui_viewmgr state is activated. Otherwise, the @a view will be shown later when ui_viewmgr is activated. ui_viewmgr_view_push() is designed @@ -35,6 +37,7 @@ extern "C" { EAPI int ui_viewmgr_push_view(ui_view *view); /** + * @deprecated Deprecated since tizen 6.0. * @brief Inserts a view in the ui_viewmgr view list. Specifically, insert a given @a view right before of the given view, @a before. * @since_tizen 3.0 * @@ -51,6 +54,7 @@ EAPI int ui_viewmgr_push_view(ui_view *view); EAPI int ui_viewmgr_insert_view_before(ui_view *view, ui_view *before); /** + * @deprecated Deprecated since tizen 6.0. * @brief Inserts a view in the ui_viewmgr view list. Specifically, insert a given @a view right after of the given view, @a after. * @since_tizen 3.0 * @@ -67,6 +71,7 @@ EAPI int ui_viewmgr_insert_view_before(ui_view *view, ui_view *before); EAPI int ui_viewmgr_insert_view_after(ui_view *view, ui_view *after); /** + * @deprecated Deprecated since tizen 6.0. * @brief Pops the top(last) view from the ui_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 ui_viewmgr. @@ -85,6 +90,7 @@ EAPI int ui_viewmgr_insert_view_after(ui_view *view, ui_view *after); EAPI int ui_viewmgr_pop_view(void); /** + * @deprecated Deprecated since tizen 6.0. * @brief Activates this view manager. * @since_tizen 3.0 * @remarks ui_viewmgr window and views will be shown once this function is called. @@ -100,6 +106,7 @@ EAPI int ui_viewmgr_pop_view(void); EAPI int ui_viewmgr_activate(void); /** + * @deprecated Deprecated since tizen 6.0. * @brief Deactivates this view manager. * @since_tizen 3.0 * @remarks ui_viewmgr window and views will be hidden once this function is called. @@ -115,6 +122,7 @@ EAPI int ui_viewmgr_activate(void); EAPI int ui_viewmgr_deactivate(void); /** + * @deprecated Deprecated since tizen 6.0. * @brief Gets a window object of ui_viewmgr. * @since_tizen 3.0 * @@ -123,6 +131,7 @@ EAPI int ui_viewmgr_deactivate(void); EAPI Elm_Win *ui_viewmgr_get_window(void); /** + * @deprecated Deprecated since tizen 6.0. * @brief Returns a last(top) view. * @since_tizen 3.0 * @remarks The specific error code can be obtained using the get_last_result() method. @@ -137,6 +146,7 @@ EAPI Elm_Win *ui_viewmgr_get_window(void); EAPI ui_view *ui_viewmgr_get_last_view(void); /** + * @deprecated Deprecated since tizen 6.0. * @brief Returns a view which is matched with the index @a idx. * @since_tizen 3.0 * @remarks You could use the index as the page numbers of the views. @@ -158,6 +168,7 @@ EAPI ui_view *ui_viewmgr_get_last_view(void); EAPI ui_view *ui_viewmgr_get_view_by_idx(int idx); /** + * @deprecated Deprecated since tizen 6.0. * @brief Returns a view which is matched with the @a name. * @since_tizen 3.0 * @remarks Every view have their names as their own identifiers. @@ -178,6 +189,7 @@ EAPI ui_view *ui_viewmgr_get_view_by_idx(int idx); EAPI ui_view *ui_viewmgr_get_view_by_name(const char *name); /** + * @deprecated Deprecated since tizen 6.0. * @brief Gets a base object of a ui_viewmgr. * @since_tizen 3.0 * @remarks Normally, a base object can be used for adding additional objects. @@ -187,6 +199,7 @@ EAPI ui_view *ui_viewmgr_get_view_by_name(const char *name); EAPI Eo *ui_viewmgr_get_base(void); /** + * @deprecated Deprecated since tizen 6.0. * @brief Returns a view index(page) number of the given view. * You could use this function to query the given @a view list order. * @since_tizen 3.0 @@ -200,6 +213,7 @@ EAPI Eo *ui_viewmgr_get_base(void); EAPI int ui_viewmgr_get_view_index(const ui_view *view); /** + * @deprecated Deprecated since tizen 6.0. * @brief Returns the number of views which of ui_viewmgr. * @since_tizen 3.0 * diff --git a/src/include/interface/UiIfaceTypes.h b/src/include/interface/UiIfaceTypes.h index 700b05b..b5e9287 100644 --- a/src/include/interface/UiIfaceTypes.h +++ b/src/include/interface/UiIfaceTypes.h @@ -23,6 +23,7 @@ */ /** + * @deprecated Deprecated since tizen 6.0. * @brief Enumeration for UI VIEWMGR error code. */ typedef enum @@ -38,6 +39,7 @@ typedef enum /** + * @deprecated Deprecated since tizen 6.0. * @brief Enumeration for possible values for indicator state. * @since_tizen 3.0 */ @@ -52,6 +54,7 @@ typedef enum UiViewIndicator } ui_view_indicator; /** + * @deprecated Deprecated since tizen 6.0. * @brief Enumeration for possible values for view state. * @since_tizen 3.0 */ @@ -67,6 +70,7 @@ typedef enum UiViewState } ui_view_state; /** + * @deprecated Deprecated since tizen 6.0. * @brief Enumeration for possible values for view orientation mode. * @since_tizen 3.0 */