Remove conditional statements for Moible/Wearable profile 72/306072/2
authorChanggyu Choi <changyu.choi@samsung.com>
Fri, 16 Feb 2024 04:46:00 +0000 (13:46 +0900)
committerChanggyu Choi <changyu.choi@samsung.com>
Fri, 16 Feb 2024 04:52:28 +0000 (13:52 +0900)
Change-Id: I866278ec0e8d4562001702e0b5983bd0e3d19097
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
include/app_control.h
include/app_control_internal.h

index 7a678198907263cd80f84c1b203cb1f3d65ab36d..e4785a1909a0e975c5077d22f0d503091f98358a 100644 (file)
@@ -37,14 +37,14 @@ extern "C" {
 
 /**
  * @brief The application control handle.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 typedef struct app_control_s *app_control_h;
 
 
 /**
  * @brief Enumeration for the application control error.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 typedef enum {
        APP_CONTROL_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
@@ -64,11 +64,11 @@ typedef enum {
 
 /**
  * @brief Enumeration for the application control result.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @see app_control_enable_app_started_result_event()
  */
 typedef enum {
-       APP_CONTROL_RESULT_APP_STARTED = 1, /**< Callee application launched actually (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif) */
+       APP_CONTROL_RESULT_APP_STARTED = 1, /**< Callee application launched actually (Since 2.4) */
        APP_CONTROL_RESULT_SUCCEEDED = 0, /**< Operation succeeded */
        APP_CONTROL_RESULT_FAILED = -1, /**< Operation failed by the callee */
        APP_CONTROL_RESULT_CANCELED = -2, /**< Operation canceled by the platform */
@@ -77,7 +77,7 @@ typedef enum {
 
 /**
  * @brief Enumeration for the application control launch mode.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  */
 typedef enum {
        APP_CONTROL_LAUNCH_MODE_SINGLE = 0, /**< Prefer to launch an application as single mode */
@@ -89,7 +89,7 @@ typedef enum {
  * @brief Definition for the app_control operation: An explicit launch for the homescreen application.
  * @details Input: Nothing\n
  *          Output: Nothing\n
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 #define APP_CONTROL_OPERATION_MAIN "http://tizen.org/appcontrol/operation/main"
 
@@ -98,7 +98,7 @@ typedef enum {
  * @brief Definition for the app_control operation: An explicit launch for an application that excludes the homescreen application.
  * @details Input: Nothing\n
  *          Output: Nothing\n
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 #define APP_CONTROL_OPERATION_DEFAULT "http://tizen.org/appcontrol/operation/default"
 
@@ -107,7 +107,7 @@ typedef enum {
  * @brief Definition for the app_control operation: Provides an editable access to the given data.
  * @details Input: It depends on the application scenario or configuration.\n
  *          Output: It depends on the application scenario or configuration.\n
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 #define APP_CONTROL_OPERATION_EDIT "http://tizen.org/appcontrol/operation/edit"
 
@@ -116,7 +116,7 @@ typedef enum {
  * @brief Definition for the app_control operation: Displays the data.
  * @details Input: URI is usually used to inform the path to show. In some cases, some other data in extra can be used (for example, the VIEW operation for viewing the contact and calendar data).\n
  *          Output: Nothing\n
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 #define APP_CONTROL_OPERATION_VIEW "http://tizen.org/appcontrol/operation/view"
 
@@ -125,7 +125,7 @@ typedef enum {
  * @brief Definition for the app_control operation: Picks the item.
  * @details Input: It depends on the application scenario or configuration.\n
  *          Output: APP_CONTROL_DATA_SELECTED in extra.\n
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 #define APP_CONTROL_OPERATION_PICK "http://tizen.org/appcontrol/operation/pick"
 
@@ -134,7 +134,7 @@ typedef enum {
  * @brief Definition for the app_control operation: Creates the contents.
  * @details Input: It depends on application scenario or configuration.\n
  *          Output: APP_CONTROL_DATA_SELECTED in extra.\n
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 #define APP_CONTROL_OPERATION_CREATE_CONTENT "http://tizen.org/appcontrol/operation/create_content"
 
@@ -143,7 +143,7 @@ typedef enum {
  * @brief Definition for the app_control operation: Performs a call to someone.
  * @details Input: URI is the number to be dialed. This is a mandatory field.\n
  *          Output: Nothing\n
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @privlevel public
  * @privilege %http://tizen.org/privilege/call
  * @remarks When you request this operation, you must declare this privilege.
@@ -152,17 +152,17 @@ typedef enum {
 
 
 /**
- * @deprecated Deprecated since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif. Use #APP_CONTROL_OPERATION_SHARE instead.
+ * @deprecated Deprecated since 2.4. Use #APP_CONTROL_OPERATION_SHARE instead.
  * @brief Definition for the app_control operation: Delivers some data to someone else.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 #define APP_CONTROL_OPERATION_SEND "http://tizen.org/appcontrol/operation/send"
 
 
 /**
- * @deprecated Deprecated since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif. Use #APP_CONTROL_OPERATION_SHARE_TEXT instead.
+ * @deprecated Deprecated since 2.4. Use #APP_CONTROL_OPERATION_SHARE_TEXT instead.
  * @brief Definition for the app_control operation: Delivers text data to someone else.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 #define APP_CONTROL_OPERATION_SEND_TEXT "http://tizen.org/appcontrol/operation/send_text"
 
@@ -171,7 +171,7 @@ typedef enum {
  * @brief Definition for the app_control operation: Shares an item with someone else.
  * @details Input: URI is usually used to inform the path to share. In some cases, some other data in extra can be used (for example, the SHARE operation for sharing the contact data, the SHARE operation for sharing an item through a message and email applications).\n
  *          Output: Nothing\n
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 #define APP_CONTROL_OPERATION_SHARE "http://tizen.org/appcontrol/operation/share"
 
@@ -180,7 +180,7 @@ typedef enum {
  * @brief Definition for the app_control operation: Shares multiple items with someone else.
  * @details Input: APP_CONTROL_DATA_PATH in extra is usually used to inform the data to share. In some cases, some other data in extra can be used (for example, the MULTI_SHARE operation for sharing the contact data).\n
  *          Output: Nothing\n
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 #define APP_CONTROL_OPERATION_MULTI_SHARE "http://tizen.org/appcontrol/operation/multi_share"
 
@@ -189,7 +189,7 @@ typedef enum {
  * @brief Definition for the app_control operation: Shares the text data with someone else.
  * @details Input: APP_CONTROL_DATA_TEXT in extra is the text to share\n
  *          Output: Nothing\n
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 #define APP_CONTROL_OPERATION_SHARE_TEXT "http://tizen.org/appcontrol/operation/share_text"
 
@@ -198,7 +198,7 @@ typedef enum {
  * @brief Definition for the app_control operation: Dials a number. This shows a UI with the number to be dialed, allowing the user to explicitly initiate the call.
  * @details Input: URI is the number to be dialed. If empty, show a UI without the number.\n
  *          Output: Nothing\n
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 #define APP_CONTROL_OPERATION_DIAL "http://tizen.org/appcontrol/operation/dial"
 
@@ -207,7 +207,7 @@ typedef enum {
  * @brief Definition for the app_control operation: Performs a search.
  * @details Input: APP_CONTROL_DATA_TEXT in extra is the text to search for. If empty, show a search UI.\n
  *          Output: Nothing\n
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 #define APP_CONTROL_OPERATION_SEARCH "http://tizen.org/appcontrol/operation/search"
 
@@ -216,10 +216,10 @@ typedef enum {
  * @brief Definition for the app_control operation: Downloads the item.
  * @details Input: It depends on the application scenario or configuration.\n
  *          Output: It depends on the application scenario or configuration.\n
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @privlevel public
- * @privilege %http://tizen.org/privilege/download (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif)
- * @remarks When you request this operation, you must declare this privilege. (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif)
+ * @privilege %http://tizen.org/privilege/download (Since 2.4)
+ * @remarks When you request this operation, you must declare this privilege. (Since 2.4)
  */
 #define APP_CONTROL_OPERATION_DOWNLOAD "http://tizen.org/appcontrol/operation/download"
 
@@ -228,7 +228,7 @@ typedef enum {
  * @brief Definition for the app_control operation: Prints the content.
  * @details Input: It depends on the application scenario or configuration.\n
  *          Output: It depends on the application scenario or configuration.\n
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 #define APP_CONTROL_OPERATION_PRINT "http://tizen.org/appcontrol/operation/print"
 
@@ -237,7 +237,7 @@ typedef enum {
  * @brief Definition for the app_control operation: Composes a message.
  * @details Input: It depends on the application scenario or configuration.\n
  *          Output: Nothing\n
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 #define APP_CONTROL_OPERATION_COMPOSE "http://tizen.org/appcontrol/operation/compose"
 
@@ -246,7 +246,7 @@ typedef enum {
  * @brief Definition for the app_control operation: Can be launched by an interested system-event.
  * @details Input : URI and extras data defined in event module.\n
  *          Output: Nothing\n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  * @remarks This operation is for handling an event from the platform. This operation cannot be requested through the app_control_send_launch_request().
  * @remarks Refer to the Launch-On-Event section of the event module.
  */
@@ -257,7 +257,7 @@ typedef enum {
  * @brief Definition for the app_control operation: Adds an item.
  * @details Input: It depends on the application scenario or configuration.\n
  *          Output: It depends on the application scenario or configuration.\n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  */
 #define APP_CONTROL_OPERATION_ADD "http://tizen.org/appcontrol/operation/add"
 
@@ -266,7 +266,7 @@ typedef enum {
  * @brief Definition for the app_control operation: Captures images by camera applications.
  * @details Input: Nothing\n
  *          Output: APP_CONTROL_DATA_SELECTED in extra.\n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  */
 #define APP_CONTROL_OPERATION_IMAGE_CAPTURE "http://tizen.org/appcontrol/operation/image_capture"
 
@@ -275,7 +275,7 @@ typedef enum {
  * @brief Definition for the app_control operation: Captures the videos by camera applications.
  * @details Input: Nothing\n
  *          Output: APP_CONTROL_DATA_SELECTED in extra.\n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  */
 #define APP_CONTROL_OPERATION_VIDEO_CAPTURE "http://tizen.org/appcontrol/operation/video_capture"
 
@@ -284,7 +284,7 @@ typedef enum {
  * @brief Definition for the app_control operation: Shows the settings to enable Bluetooth.
  * @details Input: Nothing\n
  *          Output: Nothing\n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  */
 #define APP_CONTROL_OPERATION_SETTING_BT_ENABLE "http://tizen.org/appcontrol/operation/setting/bt_enable"
 
@@ -293,7 +293,7 @@ typedef enum {
  * @brief Definition for the app_control operation: Shows the settings to configure Bluetooth visibility.
  * @details Input: Nothing\n
  *          Output: Nothing\n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  */
 #define APP_CONTROL_OPERATION_SETTING_BT_VISIBILITY "http://tizen.org/appcontrol/operation/setting/bt_visibility"
 
@@ -302,7 +302,7 @@ typedef enum {
  * @brief Definition for the app_control operation: Shows the settings to allow configuration of current location sources.
  * @details Input: Nothing\n
  *          Output: Nothing\n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  */
 #define APP_CONTROL_OPERATION_SETTING_LOCATION "http://tizen.org/appcontrol/operation/setting/location"
 
@@ -311,7 +311,7 @@ typedef enum {
  * @brief Definition for the app_control operation: Shows the NFC settings.
  * @details Input: APP_CONTROL_DATA_TYPE in extra (Since 3.0).\n
  *          Output: Nothing\n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  * @remarks Prior to Tizen 3.0, no input value was needed.
  */
 #define APP_CONTROL_OPERATION_SETTING_NFC "http://tizen.org/appcontrol/operation/setting/nfc"
@@ -321,7 +321,7 @@ typedef enum {
  * @brief Definition for the app_control operation: Shows the system settings.
  * @details Input: Nothing\n
  *          Output: Nothing\n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  */
 #define APP_CONTROL_OPERATION_SETTING "http://tizen.org/appcontrol/operation/setting"
 
@@ -330,7 +330,7 @@ typedef enum {
  * @brief Definition for the app_control operation: Shows the settings to allow configuration of Wi-Fi.
  * @details Input: Nothing\n
  *          Output: Nothing\n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  */
 #define APP_CONTROL_OPERATION_SETTING_WIFI "http://tizen.org/appcontrol/operation/setting/wifi"
 
@@ -348,7 +348,7 @@ typedef enum {
  * @brief Definition for the application control operation: Select the type of input method to receive an input from the user.
  * @details Input: It depends on the application scenario or configuration.\n
  *          Output: APP_CONTROL_DATA_TEXT in extra.\n
- * @since_tizen @if WEARABLE 2.3.2 @elseif MOBILE 3.0 @endif
+ * @since_tizen 3.0
  */
 #define APP_CONTROL_OPERATION_GET_INPUT "http://tizen.org/appcontrol/operation/get_input"
 
@@ -399,49 +399,49 @@ typedef enum {
 
 /**
  * @brief Definition for the app_control data: Subject.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 #define APP_CONTROL_DATA_SUBJECT "http://tizen.org/appcontrol/data/subject"
 
 
 /**
  * @brief Definition for the app_control data: Recipients.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 #define APP_CONTROL_DATA_TO "http://tizen.org/appcontrol/data/to"
 
 
 /**
  * @brief Definition for the app_control data: Email addresses that should be carbon copied.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 #define APP_CONTROL_DATA_CC "http://tizen.org/appcontrol/data/cc"
 
 
 /**
  * @brief Definition for the app_control data: Email addresses that should be blind carbon copied.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 #define APP_CONTROL_DATA_BCC "http://tizen.org/appcontrol/data/bcc"
 
 
 /**
  * @brief Definition for the app_control data: Text.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 #define APP_CONTROL_DATA_TEXT "http://tizen.org/appcontrol/data/text"
 
 
 /**
  * @brief Definition for the app_control data: Title.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 #define APP_CONTROL_DATA_TITLE "http://tizen.org/appcontrol/data/title"
 
 
 /**
  * @brief Definition for the app_control data: Selected items.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @remarks Since Tizen 3.0, if all added paths with this key are under the caller application's data path which can be obtained by calling app_get_data_path() function, those will be shared to the callee application. Framework will grant a temporary permission to the callee application for those files and revoke it when the callee application is terminated. Paths should be regular files. The callee application can just read them. Note that the callee application doesn't have read permission of the directory that is obtained by caller's app_get_data_path(), you should open the file path with read only mode directly. For example, access() call to the file path will return error because access() needs the read permission of the directory. The callee application can call open() with O_RDONLY mode for the passed file path, because framework grants read permission to the passed file path.
  */
 #define APP_CONTROL_DATA_SELECTED "http://tizen.org/appcontrol/data/selected"
@@ -449,92 +449,92 @@ typedef enum {
 
 /**
  * @brief Definition for the app_control data: Paths of items.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @remarks Since Tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif, if all added paths with this key are under the caller application's data path which can be obtained by the calling app_get_data_path() function, those will be shared to the callee application. Framework will grant a temporary permission to the callee application for those files and revoke it when the callee application is terminated. Paths should be regular files. The callee application can just read them. Note that the callee application doesn't have read permission of the directory that is obtained by the caller's app_get_data_path(), you should open the file path with the read only mode directly. For example, access() call to the file path will return error because access() needs the read permission of the directory. The callee application can call open() with the O_RDONLY mode for the passed file path, because framework grants the read permission to the passed file path.
+ * @since_tizen 2.3
+ * @remarks Since Tizen 2.4, if all added paths with this key are under the caller application's data path which can be obtained by the calling app_get_data_path() function, those will be shared to the callee application. Framework will grant a temporary permission to the callee application for those files and revoke it when the callee application is terminated. Paths should be regular files. The callee application can just read them. Note that the callee application doesn't have read permission of the directory that is obtained by the caller's app_get_data_path(), you should open the file path with the read only mode directly. For example, access() call to the file path will return error because access() needs the read permission of the directory. The callee application can call open() with the O_RDONLY mode for the passed file path, because framework grants the read permission to the passed file path.
  */
 #define APP_CONTROL_DATA_PATH "http://tizen.org/appcontrol/data/path"
 
 
 /**
  * @brief Definition for the app_control data: Selection mode ("single" or "multiple").
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  */
 #define APP_CONTROL_DATA_SELECTION_MODE "http://tizen.org/appcontrol/data/selection_mode"
 
 
 /**
  * @brief Definition for the app_control data: All-day mode of the event ("true" or "false").
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  */
 #define APP_CONTROL_DATA_CALENDAR_ALL_DAY "http://tizen.org/appcontrol/data/calendar/all_day"
 
 
 /**
  * @brief Definition for the app_control data: Start time of the event (format: YYYY-MM-DD HH:MM:SS).
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  */
 #define APP_CONTROL_DATA_CALENDAR_START_TIME "http://tizen.org/appcontrol/data/calendar/start_time"
 
 
 /**
  * @brief Definition for the app_control data: End time of event (format: YYYY-MM-DD HH:MM:SS).
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  */
 #define APP_CONTROL_DATA_CALENDAR_END_TIME "http://tizen.org/appcontrol/data/calendar/end_time"
 
 
 /**
  * @brief Definition for the app_control data: Email addresses.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  */
 #define APP_CONTROL_DATA_EMAIL "http://tizen.org/appcontrol/data/email"
 
 
 /**
  * @brief Definition for the app_control data: Phone numbers.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  */
 #define APP_CONTROL_DATA_PHONE "http://tizen.org/appcontrol/data/phone"
 
 
 /**
  * @brief Definition for the app_control data: URLs.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  */
 #define APP_CONTROL_DATA_URL "http://tizen.org/appcontrol/data/url"
 
 
 /**
  * @brief Definition for the app_control data: IDs.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  */
 #define APP_CONTROL_DATA_ID "http://tizen.org/appcontrol/data/id"
 
 
 /**
  * @brief Definition for the app_control data: Type.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.4
  */
 #define APP_CONTROL_DATA_TYPE "http://tizen.org/appcontrol/data/type"
 
 
 /**
  * @brief Definition for the app_control data: Total count.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  */
 #define APP_CONTROL_DATA_TOTAL_COUNT "http://tizen.org/appcontrol/data/total_count"
 
 
 /**
  * @brief Definition for the app_control data: Total size (unit : bytes).
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  */
 #define APP_CONTROL_DATA_TOTAL_SIZE "http://tizen.org/appcontrol/data/total_size"
 
 
 /**
  * @brief Definition for the app_control data: Name.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  */
 #define APP_CONTROL_DATA_NAME "http://tizen.org/appcontrol/data/name"
 
@@ -555,28 +555,28 @@ typedef enum {
  *                "input_drawing" Launch the input method with the drawing type.
  *                "input_recording" Launch the input method with the voice recording type.
  * input_reply, input_drawing and input_recording types are valid since tizen 4.0.
- * @since_tizen @if WEARABLE 2.3.2 @elseif MOBILE 3.0 @endif
+ * @since_tizen 3.0
  */
 #define APP_CONTROL_DATA_INPUT_TYPE "http://tizen.org/appcontrol/data/input_type"
 
 
 /**
  * @brief Definition for the app_control data: Sends the pre-input text such as "http://" in web.
- * @since_tizen @if WEARABLE 2.3.2 @elseif MOBILE 3.0 @endif
+ * @since_tizen 3.0
  */
 #define APP_CONTROL_DATA_INPUT_DEFAULT_TEXT "http://tizen.org/appcontrol/data/input_default_text"
 
 
 /**
  * @brief Definition for the app_control data: Sends the guide text to show the user such as "Input user name".
- * @since_tizen @if WEARABLE 2.3.2 @elseif MOBILE 3.0 @endif
+ * @since_tizen 3.0
  */
 #define APP_CONTROL_DATA_INPUT_GUIDE_TEXT "http://tizen.org/appcontrol/data/input_guide_text"
 
 
 /**
  * @brief Definition for the app_control data: Sends text to receive the result from smart reply.
- * @since_tizen @if WEARABLE 2.3.2 @elseif MOBILE 3.0 @endif
+ * @since_tizen 3.0
  */
 #define APP_CONTROL_DATA_INPUT_PREDICTION_HINT "http://tizen.org/appcontrol/data/input_prediction_hint"
 
@@ -668,7 +668,7 @@ typedef enum {
 /**
  * @brief Called when the reply of the launch request is delivered.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @remarks The @a request and @a reply must not be deallocated by the application.
  *
  * @param[in]   request         The app_control handle of the launch request that has been sent
@@ -676,7 +676,7 @@ typedef enum {
  * @param[in]   result          The result code of the launch request
  * @param[in]   user_data       The user data passed from the callback registration function
  * @pre When the callee replies to the launch request, this callback will be invoked.
- * @pre Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif, if #APP_CONTROL_RESULT_APP_STARTED event is enabled,
+ * @pre Since 2.4, if #APP_CONTROL_RESULT_APP_STARTED event is enabled,
  *            this callback will also be invoked when the callee application actually launched.
  * @see app_control_send_launch_request()
  * @see app_control_reply_to_launch_request()
@@ -689,7 +689,7 @@ typedef void (*app_control_reply_cb) (app_control_h request, app_control_h reply
 /**
  * @brief Called to retrieve the extra data contained in the app_control.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @remarks The @a key must not be deallocated by the application.
  *
  * @param[in]   app_control     The app_control handle
@@ -706,7 +706,7 @@ typedef bool (*app_control_extra_data_cb)(app_control_h app_control, const char
 /**
  * @brief Called once for each matched application that can be launched to handle the given app_control request.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  *
  * @param[in]   app_control     The app_control handle
  * @param[in]   appid           The name of the application that can handle the launch request of the given app_control
@@ -763,7 +763,7 @@ typedef void (*app_control_action_cb)(const char *action,
 /**
  * @brief Creates an app_control handle.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @remarks The @a app_control must be released using app_control_destroy().
  *
  * @param[out]  app_control     The app_control handle to be newly created on success
@@ -844,7 +844,7 @@ int app_control_create_from_uri_handle(app_control_h *app_control,
 /**
  * @brief Destroys the app_control handle and releases all its resources.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  *
  * @param[in]   app_control      The app_control handle
  * @return @c 0 on success,
@@ -863,7 +863,7 @@ int app_control_destroy(app_control_h app_control);
  * @details The @a operation is the mandatory information for the launch request.
  *          If the operation is not specified, #APP_CONTROL_OPERATION_DEFAULT is used for the launch request.
  *          If the operation is #APP_CONTROL_OPERATION_DEFAULT, the package information is mandatory to explicitly launch the application.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  *
  * @param[in]   app_control     The app_control handle
  * @param[in]   operation       The operation to be performed (if the @a operation is @c NULL, it clears the previous value)
@@ -889,7 +889,7 @@ int app_control_set_operation(app_control_h app_control, const char *operation);
 /**
  * @brief Gets the operation to be performed.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @remarks The @a operation must be released using free().
  *
  * @param[in]   app_control     The app_control handle
@@ -907,8 +907,8 @@ int app_control_get_operation(app_control_h app_control, char **operation);
 /**
  * @brief Sets the URI of the data.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @remarks Since Tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif, if the parameter @a uri is started with '%file://' and it is a regular file in this application's data path which can be obtained by calling the app_get_data_path() function, it will be shared to the callee application. Framework will grant a temporary permission to the callee application for this file and revoke it when the callee application is terminated. The callee application can just read it.
+ * @since_tizen 2.3
+ * @remarks Since Tizen 2.4, if the parameter @a uri is started with '%file://' and it is a regular file in this application's data path which can be obtained by calling the app_get_data_path() function, it will be shared to the callee application. Framework will grant a temporary permission to the callee application for this file and revoke it when the callee application is terminated. The callee application can just read it.
  *
  * @param[in]   app_control      The app_control handle
  * @param[in]   uri              The URI of the data this app_control is operating on (if the @a uri is @c NULL, it clears the previous value)
@@ -924,7 +924,7 @@ int app_control_set_uri(app_control_h app_control, const char *uri);
 /**
  * @brief Gets the URI of the data.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @remarks The @a uri must be released using free().
  *
  * @param[in]   app_control     The app_control handle
@@ -958,7 +958,7 @@ int app_control_set_uri_by_handle(app_control_h app_control,
 /**
  * @brief Sets the explicit MIME type of the data.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  *
  * @param[in]    app_control     The app_control handle
  * @param[in]    mime            The explicit MIME type of the data this app_control is operating on (if the @a mime is @c NULL, it clears the previous value)
@@ -974,7 +974,7 @@ int app_control_set_mime(app_control_h app_control, const char *mime);
 /**
  * @brief Gets the explicit MIME type of the data.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @remarks The @a mime must be released using free().
  *
  * @param[in]   app_control     The app_control handle
@@ -992,7 +992,7 @@ int app_control_get_mime(app_control_h app_control, char **mime);
 /**
  * @brief Sets the explicit category.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  *
  * @param[in]   app_control     The app_control handle
  * @param[in]   category       The explicit category (if the @a category is @c NULL, it clears the previous value)
@@ -1008,7 +1008,7 @@ int app_control_set_category(app_control_h app_control, const char *category);
 /**
  * @brief Gets the explicit category.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @remarks The @a category must be released using free().
  *
  * @param[in]   app_control     The app_control handle
@@ -1026,7 +1026,7 @@ int app_control_get_category(app_control_h app_control, char **category);
 /**
  * @brief Sets the ID of the application to explicitly launch.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  *
  * @param[in]   app_control     The app_control handle
  * @param[in]   app_id          The ID of the application to explicitly launch (if the @a app_id is @c NULL, it clears the previous value)
@@ -1043,7 +1043,7 @@ int app_control_set_app_id(app_control_h app_control, const char *app_id);
 /**
  * @brief Gets the ID of the application to explicitly launch.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @remarks The @a app_id must be released with free().
  *
  * @param[in]   app_control     The app_control handle
@@ -1060,7 +1060,7 @@ int app_control_get_app_id(app_control_h app_control, char **app_id);
 /**
  * @brief Adds extra data to the app_control.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @remarks The function replaces any existing value for the given key.
  * @remarks The function returns #APP_CONTROL_ERROR_INVALID_PARAMETER if @a key or @a value is a zero-length string.
  * @remarks The function returns #APP_CONTROL_ERROR_KEY_REJECTED if the application tries to use the same key with the system-defined key.
@@ -1083,7 +1083,7 @@ int app_control_add_extra_data(app_control_h app_control, const char *key, const
 /**
  * @brief Adds the extra data array to the app_control.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @remarks The function replaces any existing value for the given key.
  * @remarks The function returns #APP_CONTROL_ERROR_INVALID_PARAMETER if @a key is a zero-length string.
  * @remarks The function returns #APP_CONTROL_ERROR_KEY_REJECTED if the application tries to use the same key with the system-defined key.
@@ -1107,7 +1107,7 @@ int app_control_add_extra_data_array(app_control_h app_control, const char *key,
 /**
  * @brief Removes the extra data from the app_control.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  *
  * @param[in]   app_control     The app_control handle
  * @param[in]   key             The name of the extra data
@@ -1127,7 +1127,7 @@ int app_control_remove_extra_data(app_control_h app_control, const char *key);
 /**
  * @brief Gets the extra data from the app_control.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @remarks The @a value must be released using free().
  * @remarks The function returns #APP_CONTROL_ERROR_INVALID_DATA_TYPE if @a value is of array data type.
  *
@@ -1153,7 +1153,7 @@ int app_control_get_extra_data(app_control_h app_control, const char *key, char
 /**
  * @brief Gets the extra data array from the app_control.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @remarks The @a value must be released using free().
  * @remarks The function returns #APP_CONTROL_ERROR_INVALID_DATA_TYPE if @a value is not of array data type.
  *
@@ -1180,7 +1180,7 @@ int app_control_get_extra_data_array(app_control_h app_control, const char *key,
 /**
  * @brief Checks whether the extra data associated with the given @a key is of array data type.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  *
  * @param[in]   app_control     The app_control handle
  * @param[in]   key             The name of the extra data
@@ -1202,7 +1202,7 @@ int app_control_is_extra_data_array(app_control_h app_control, const char *key,
  * @details This function calls app_control_extra_data_cb() once for each key-value pair for extra data contained in app_control. \n
  *          If the app_control_extra_data_cb() callback function returns @c false, then iteration will be finished.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  *
  * @param[in]    app_control     The app_control handle
  * @param[in]    callback        The iteration callback function
@@ -1220,7 +1220,7 @@ int app_control_foreach_extra_data(app_control_h app_control, app_control_extra_
 /**
  * @brief Retrieves all applications that can be launched to handle the given app_control request.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  *
  * @param[in]    app_control     The app_control handle
  * @param[in]    callback        The iteration callback function
@@ -1241,11 +1241,11 @@ int app_control_foreach_app_matched(app_control_h app_control, app_control_app_m
  * @details The operation is mandatory information for the launch request. \n
  *          If the operation is not specified, #APP_CONTROL_OPERATION_DEFAULT is used by default.
  *          If the operation is #APP_CONTROL_OPERATION_DEFAULT, the application ID is mandatory to explicitly launch the application.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @privlevel public
  * @privilege %http://tizen.org/privilege/appmanager.launch
  * @remarks The function returns #APP_CONTROL_ERROR_LAUNCH_REJECTED if the operation value is #APP_CONTROL_OPERATION_LAUNCH_ON_EVENT which is only for handling the event from the platform or other application, refer to the @ref CAPI_EVENT_MODULE module.
- * @remarks Since Tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif, the launch request of the service application over out of packages is restricted by the platform. Also, implicit launch requests are NOT delivered to service applications since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif. To launch a service application, an explicit launch request with application ID given by the app_control_set_app_id() must be sent.
+ * @remarks Since Tizen 2.4, the launch request of the service application over out of packages is restricted by the platform. Also, implicit launch requests are NOT delivered to service applications since 2.4. To launch a service application, an explicit launch request with application ID given by the app_control_set_app_id() must be sent.
  *
  * @param[in]   app_control     The app_control handle
  * @param[in]   callback        The callback function to be called when the reply is delivered
@@ -1271,8 +1271,8 @@ int app_control_send_launch_request(app_control_h app_control, app_control_reply
 /**
  * @brief Sends the terminate request to the application that is launched by app_control. This function is only effective for some applications that are provided by default for handling platform default app_controls. You are not allowed to terminate other general applications using this function.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @remarks Since Tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif, this function can be used to terminate sub-applications which were launched as group mode by the caller application.
+ * @since_tizen 2.3
+ * @remarks Since Tizen 2.4, this function can be used to terminate sub-applications which were launched as group mode by the caller application.
  *          Once callee application is being terminated by this function, other applications which were launched by the callee application as a group mode will be terminated as well.
  *
  * @param[in]   app_control     The app_control handle
@@ -1291,7 +1291,7 @@ int app_control_send_terminate_request(app_control_h app_control);
  * @brief Replies to the launch request sent by the caller.
  * @details If the caller application sent the launch request to receive the result, the callee application can return the result back to the caller.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @remarks The function is not allowed to send reply #APP_CONTROL_RESULT_APP_STARTED as @a result which is reserved for platform developers.
  *
  * @param[in]   reply           The app_control handle in which the results of the callee are contained
@@ -1310,7 +1310,7 @@ int app_control_reply_to_launch_request(app_control_h reply, app_control_h reque
 /**
  * @brief Creates and returns a copy of the given app_control handle.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @remarks A newly created app_control should be destroyed by calling the app_control_destroy() if it is no longer needed.
  *
  * @param[out]  clone           If successful, a newly created app_control handle will be returned
@@ -1328,7 +1328,7 @@ int app_control_clone(app_control_h *clone, app_control_h app_control);
 /**
  * @brief Gets the application ID of the caller from the launch request.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @remarks The @a app_control must be the launch request from app_control_cb().
  * @remarks This function returns #APP_CONTROL_ERROR_INVALID_PARAMETER if the given app_control is not the launch request.
  * @remarks The @a id must be released using free().
@@ -1347,7 +1347,7 @@ int app_control_get_caller(app_control_h app_control, char **id);
 /**
  * @brief Checks whether the caller is requesting a reply from the launch request.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @remarks The @a app_control must be the launch request from app_control_cb().
  * @remarks This function returns #APP_CONTROL_ERROR_INVALID_PARAMETER if the given app_control is not the launch request.
  *
@@ -1365,7 +1365,7 @@ int app_control_is_reply_requested(app_control_h app_control, bool *requested);
  * @brief Sets the launch mode of the application.
  *
  * @details This function allows the callee application to be launched as a group or as a single mode.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  * @remarks Although launch_mode were set as #APP_CONTROL_LAUNCH_MODE_GROUP, the callee application would be launched as a single mode if the manifest file of callee application defined the launch mode as "single".
  *          This function can just set the preference of the caller application to launch an application.
  * @remarks Sub-applications which were launched as a group mode always have own process.
@@ -1385,7 +1385,7 @@ int app_control_set_launch_mode(app_control_h app_control,
 /**
  * @brief Gets the launch mode of the application.
  *
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  * @remarks Since Tizen 3.0, if launch mode is not set in the caller application control,
  *          the function returns the #APP_CONTROL_LAUNCH_MODE_SINGLE launch mode.
  *
@@ -1406,7 +1406,7 @@ int app_control_get_launch_mode(app_control_h app_control,
  *
  * @details The function allows to receive the #APP_CONTROL_RESULT_APP_STARTED event on\n
  *         application get launched by the app_control.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  * @remarks app_control_reply_cb() will be called on the #APP_CONTROL_RESULT_APP_STARTED event received.
  *
  * @param[in]    app_control     The app_control handle
@@ -1430,7 +1430,7 @@ int app_control_enable_app_started_result_event(app_control_h app_control);
  * @privlevel public
  * @privilege %http://tizen.org/privilege/appmanager.launch
  * @remarks The function returns #APP_CONTROL_ERROR_LAUNCH_REJECTED if the operation value is #APP_CONTROL_OPERATION_LAUNCH_ON_EVENT which is only for handling the event from the platform or other application, refer to the @ref CAPI_EVENT_MODULE Module.
- * @remarks The launch request of the service application over out of packages is restricted by the platform. Also, implicit launch requests are NOT delivered to service applications since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif. To launch a service application, an explicit launch request with application ID given by the app_control_set_app_id() must be sent.
+ * @remarks The launch request of the service application over out of packages is restricted by the platform. Also, implicit launch requests are NOT delivered to service applications since 2.4. To launch a service application, an explicit launch request with application ID given by the app_control_set_app_id() must be sent.
  *
  * @param[in]   app_control     The app_control handle
  * @param[in]   result_cb       The callback function to be called when the result is delivered
@@ -1467,7 +1467,7 @@ int app_control_send_launch_request_async(app_control_h app_control,
  * @privlevel public
  * @privilege %http://tizen.org/privilege/appmanager.launch
  * @remarks The function returns #APP_CONTROL_ERROR_LAUNCH_REJECTED if the operation value is #APP_CONTROL_OPERATION_LAUNCH_ON_EVENT, which is only for handling the event from the platform or other applications, refer to the @ref CAPI_EVENT_MODULE Module.
- * @remarks The platform does not allow launching service applications from packages other than the requesting application's package. Also, implicit launch requests are NOT delivered to service applications since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif. To launch a service application, an explicit launch request with application ID set by app_control_set_app_id() must be sent.
+ * @remarks The platform does not allow launching service applications from packages other than the requesting application's package. Also, implicit launch requests are NOT delivered to service applications since 2.4. To launch a service application, an explicit launch request with application ID set by app_control_set_app_id() must be sent.
  * @remarks If the callee application doesn't respond, the function returns a negative error value.
  * @remarks The @a reply must be released using app_control_destroy().
  *
index 83f82bdf3576cf7fe5b7a21629fec52a9c611710..bb34d4f51444a77b1ace9b9744e30f2a579d1030 100644 (file)
@@ -160,7 +160,7 @@ int app_control_to_bundle(app_control_h app_control, bundle **data);
 /**
  * @brief Sets the window ID of the application.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @param[in]   app_control      The app_control handle
  * @param[in]   id               The window ID of the caller application (if the @a id is not positive, it clears the previous value)
  * @return      @c 0 on success,
@@ -176,7 +176,7 @@ int app_control_set_window(app_control_h app_control, unsigned int id);
 /**
  * @brief Gets the window ID of the application.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @param[in]   app_control     The app_control handle
  * @param[out]  id              The window ID of the caller application
  * @return      @c 0 on success,
@@ -194,7 +194,7 @@ typedef int (*app_control_host_res_fn)(void *data);
 /**
  * @brief Requests the specified callee window to be transient for the caller window.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
  * @remarks The @a callee_id window is transient for the top-level caller window and should be handled accordingly.
  * @param[in]   app_control     The app_control handle
  * @param[in]   callee_id       The callee window ID