Remove conditional statements for Moible/Wearable profile 68/306068/2
authorChanggyu Choi <changyu.choi@samsung.com>
Fri, 16 Feb 2024 04:26:36 +0000 (13:26 +0900)
committerChanggyu Choi <changyu.choi@samsung.com>
Fri, 16 Feb 2024 05:32:07 +0000 (14:32 +0900)
Change-Id: I38d339d7929175b5853fa9e60b7ac4786f3a4529
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
doc/appfw_app_doc.h
include/app.h
include/app_extension.h

index 4026f36f763e68bc088011a591fe1b76706fe3fc..44be659a28aa2f1501a991502d84d3dab15276c0 100755 (executable)
 *   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
index 88e1340fe082ce0cbabadf319a523ec302635f7c..9333ad1dbe5c89ffbf4bf7b5c396130c82677f6c 100644 (file)
@@ -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
index b5b64559077f00cba7c1a6d4a0def972d5f8cdbc..b10ce1bc81a0e057174c7255806946378e272468 100755 (executable)
@@ -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,