From: Changgyu Choi Date: Fri, 16 Feb 2024 04:26:36 +0000 (+0900) Subject: Remove conditional statements for Moible/Wearable profile X-Git-Tag: accepted/tizen/unified/x/20240305.021750~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3a6d8bdd75c3e90e41547753ea7c981db08ac9af;p=platform%2Fcore%2Fapi%2Fapplication.git Remove conditional statements for Moible/Wearable profile Change-Id: I38d339d7929175b5853fa9e60b7ac4786f3a4529 Signed-off-by: Changgyu Choi --- diff --git a/doc/appfw_app_doc.h b/doc/appfw_app_doc.h index 4026f36..44be659 100755 --- a/doc/appfw_app_doc.h +++ b/doc/appfw_app_doc.h @@ -153,7 +153,7 @@ * your application temporarily * - An alarm went off for another application so it now becomes the top-most window and hides your application * -* Since Tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif, the application on the background goes in to a suspended state. In the suspended state, the application process is executed with limited CPU resources. +* Since Tizen 2.4, the application on the background goes in to a suspended state. In the suspended state, the application process is executed with limited CPU resources. * In other words, the platform does not allow the running of the background applications. * When your application becomes visible again, the app_resume_cb() callback is invoked. Some possible scenarios for your application to become visible are: * - Another application requests your application to run (perhaps the Task Navigator which shows all running applications and lets diff --git a/include/app.h b/include/app.h index 88e1340..9333ad1 100644 --- a/include/app.h +++ b/include/app.h @@ -40,7 +40,7 @@ extern "C" { * In this callback, you can initialize application resources like window creation, data structure, and so on. * After this callback function returns @c true, the main loop starts up and app_control_cb() is subsequently called. * If this callback function returns @c false, the main loop doesn't start and app_terminate_cb() is subsequently called. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] user_data The user data passed from the callback registration function * @return @c true on success, * otherwise @c false @@ -54,7 +54,7 @@ typedef bool (*app_create_cb) (void *user_data); /** * @brief Called when the application is completely obscured by another application and becomes invisible. * @details The application is not terminated and still running in the paused state. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] user_data The user data passed from the callback registration function * @see ui_app_main() * @see #ui_app_lifecycle_callback_s @@ -64,7 +64,7 @@ typedef void (*app_pause_cb) (void *user_data); /** * @brief Called when the application becomes visible. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] user_data The user data passed from the callback registration function * @see ui_app_main() * @see #ui_app_lifecycle_callback_s @@ -75,7 +75,7 @@ typedef void (*app_resume_cb) (void *user_data); /** * @brief Called when the application's main loop exits. * @details You should release the application's resources in this function. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] user_data The user data passed from the callback registration function * @see ui_app_main() * @see #ui_app_lifecycle_callback_s @@ -95,7 +95,7 @@ typedef void (*app_terminate_cb) (void *user_data); * If the application is launched from the application launcher or explicitly launched by another application, * the passed app_control handle may include only the default operation (#APP_CONTROL_OPERATION_DEFAULT) without any data. * For more information, see The @ref CAPI_APP_CONTROL_MODULE API description. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks After this callback returns, the handle of the app_control is freed. * Therefore, if you want to use the handle after returning this callback, you MUST copy it by using app_control_clone() API. * @param[in] app_control The handle to the app_control @@ -109,7 +109,7 @@ typedef void (*app_control_cb) (app_control_h app_control, void *user_data); /** * @brief The structure type containing the set of callback functions for handling application lifecycle events. * @details It is one of the input parameters of the ui_app_main() function. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @see ui_app_main() * @see app_create_cb() * @see app_pause_cb() @@ -128,7 +128,7 @@ typedef struct { /** * @brief Gets the current device orientation. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @return The current device orientation */ app_device_orientation_e app_get_device_orientation(void); @@ -141,7 +141,7 @@ app_device_orientation_e app_get_device_orientation(void); * After the app_create_cb() callback function returns true, the main loop starts up and the app_control_cb() callback function is subsequently called. * If the app_create_cb() callback function returns false, the main loop doesn't start up and app_terminate_cb() callback function is called. * This main loop supports event handling for the Ecore Main Loop. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] argc The argument count * @param[in] argv The argument vector * @param[in] callback The set of callback functions to handle application lifecycle events @@ -166,7 +166,7 @@ int ui_app_main(int argc, char **argv, ui_app_lifecycle_callback_s *callback, vo /** * @brief Exits the main loop of application. * @details The main loop of application stops and app_terminate_cb() is invoked. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @see ui_app_main() * @see app_terminate_cb() */ @@ -175,7 +175,7 @@ void ui_app_exit(void); /** * @brief Adds the system event handler. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[out] event_handler The event handler * @param[in] event_type The system event type * @param[in] callback The callback function @@ -194,7 +194,7 @@ int ui_app_add_event_handler(app_event_handler_h *event_handler, app_event_type_ /** * @brief Removes registered event handler. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] event_handler The event handler * @return @c 0 on success, * otherwise a negative error value diff --git a/include/app_extension.h b/include/app_extension.h index b5b6455..b10ce1b 100755 --- a/include/app_extension.h +++ b/include/app_extension.h @@ -25,7 +25,7 @@ extern "C" { /** * @brief Gets the preinitialized window object. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks This function only supports BASIC type window. * * @param[in] win_name The name to be set for the preinitialized window @@ -38,7 +38,7 @@ void *app_get_preinitialized_window(const char *win_name); /** * @brief Gets the preinitialized background object added to the preinitialized window. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks This function should be called after calling app_get_preinitizlized_window(). * * @return A @a background object on success, @@ -49,7 +49,7 @@ void *app_get_preinitialized_background(void); /** * @brief Gets the preinitialized conformant widget added to the preinitialized window. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks This function should be called after calling app_get_preinitizlized_window(). * * @return A conformant object on success,