Remove conditional statements for Mobile & Wearable profile 08/302708/1 accepted/tizen_9.0_unified accepted/tizen_unified accepted/tizen_unified_dev accepted/tizen_unified_toolchain accepted/tizen_unified_x accepted/tizen_unified_x_asan tizen_9.0 accepted/tizen/9.0/unified/20241030.231722 accepted/tizen/unified/20240725.155008 accepted/tizen/unified/20240729.124826 accepted/tizen/unified/dev/20240729.000815 accepted/tizen/unified/toolchain/20240812.133347 accepted/tizen/unified/x/20240726.013222 accepted/tizen/unified/x/asan/20240813.231827 tizen_9.0_m2_release
authorKrishna Kant Jaju <krishna.jaju@samsung.com>
Tue, 12 Dec 2023 08:37:02 +0000 (14:07 +0530)
committerKrishna Kant Jaju <krishna.jaju@samsung.com>
Tue, 12 Dec 2023 08:38:40 +0000 (14:08 +0530)
Change-Id: I36047ccd9be85092a75bb28e56719bc5bf19fddb
Signed-off-by: Krishna Kant Jaju <krishna.jaju@samsung.com>
include/sync-error.h
include/sync_adapter.h
include/sync_manager.h

index 038f68cb32f84028c93519b9a2b0975eb0367213..26786d50109acb3f4ef9db624160f097699745de 100644 (file)
@@ -42,7 +42,7 @@ extern "C"
 
 /**
  *  @brief    Enumerations of error codes for Sync Manager APIs.
- *  @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ *  @since_tizen 2.4
  */
 typedef enum {
        SYNC_ERROR_NONE                                         = TIZEN_ERROR_NONE,                                     /**< Successful */
index e9c16ed2a083c5a210eeb0701b07b1b220ec72f4..26223ab7cbc49189e0c865a410606a051e0042d6 100644 (file)
@@ -44,7 +44,7 @@ extern "C" {
 /**
  * @brief Callback function for Sync Adapter's start sync request.
  *
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  * @remarks    This API only can be called at a service application.\n\n
  * @a Release account with account_destroy() after using it.\n\n
  * @a Release sync_job_user_data with bundle_free() after using it.
@@ -72,7 +72,7 @@ typedef bool (*sync_adapter_start_sync_cb)(account_h account, const char *sync_j
 /**
  * @brief Callback function for Sync Adapter's cancel sync request.
  *
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  * @remarks    This API only can be called at a service application after calling sync_manager_remove_sync_job().\n\n
  * @a Release account with account_destroy() after using it.\n\n
  * @a Release sync_job_user_data with bundle_free() after using it.
@@ -94,7 +94,7 @@ typedef void (*sync_adapter_cancel_sync_cb)(account_h account, const char *sync_
 /**
  * @brief Sets client (Sync Adapter) callback functions
  *
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  * @remarks    This API only can be called by a service application. And it can be set by only one service application per a package.
  *
  * @param[in] on_start_cb       A callback function to be called by Sync Manager for performing sync operation
@@ -121,7 +121,7 @@ int sync_adapter_set_callbacks(sync_adapter_start_sync_cb on_start_cb, sync_adap
 /**
  * @brief Unsets client (Sync Adapter) callback functions
  *
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  *
  * @return @c 0 on success,
  *         otherwise a negative error value
index 8e1f003203c4e9ace6e8a94b2f9fac14b918422a..e3c845de3737029c7ffd44580e777917d35a6493 100644 (file)
@@ -44,7 +44,7 @@ extern "C"
 
 /**
  *  @brief             This is calendar capability string.
- *  @since_tizen @if MOBILE 2.4 @elseif WEARABLE 4.0 @endif
+ *  @since_tizen 2.4
  *  @remarks   If you want to receive notification about calendar DB change, add it through sync_manager_add_data_change_sync_job().
  *  @see               sync_manager_add_data_change_sync_job()
  */
@@ -53,7 +53,7 @@ extern "C"
 
 /**
  *  @brief             This is contact capability string.
- *  @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ *  @since_tizen 2.4
  *  @remarks   If you want to receive notification about contact DB change, add it through sync_manager_add_data_change_sync_job().
  *  @see               sync_manager_add_data_change_sync_job()
   */
@@ -62,7 +62,7 @@ extern "C"
 
 /**
  *  @brief             This is image capability string.
- *  @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ *  @since_tizen 2.4
  *  @remarks   If you want to receive notification about media image DB change, add it through sync_manager_add_data_change_sync_job().
  *  @see               sync_manager_add_data_change_sync_job()
  */
@@ -71,7 +71,7 @@ extern "C"
 
 /**
  *  @brief             This is video capability string.
- *  @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ *  @since_tizen 2.4
  *  @remarks   If you want to receive notification about media video DB change, add it through sync_manager_add_data_change_sync_job().
  *  @see               sync_manager_add_data_change_sync_job()
  */
@@ -80,7 +80,7 @@ extern "C"
 
 /**
  *  @brief             This is sound capability string.
- *  @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ *  @since_tizen 2.4
  *  @remarks   If you want to receive notification about media sound DB change, add it through sync_manager_add_data_change_sync_job().
  *  @see               sync_manager_add_data_change_sync_job()
  */
@@ -89,7 +89,7 @@ extern "C"
 
 /**
  *  @brief             This is music capability string.
- *  @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ *  @since_tizen 2.4
  *  @remarks   If you want to receive notification about media music DB change, add it through sync_manager_add_data_change_sync_job().
  *  @see               sync_manager_add_data_change_sync_job()
  */
@@ -98,7 +98,7 @@ extern "C"
 
 /**
  *  @brief   Enumerations for sync options of sync job request APIs.
- *  @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ *  @since_tizen 2.4
  */
 typedef enum {
        SYNC_OPTION_NONE = 0,                                                                                                           /**< Sync job will be operated normally */
@@ -109,7 +109,7 @@ typedef enum {
 
 /**
  *  @brief   Enumerations for time intervals of a periodic sync.
- *  @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ *  @since_tizen 2.4
  */
 typedef enum {
        SYNC_PERIOD_INTERVAL_30MIN = 0,         /**< Sync within 30 minutes */
@@ -126,7 +126,7 @@ typedef enum {
 /**
  * @brief Called to get the information once for each sync job.
  *
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  *
  * @remarks @a Release account with account_destroy() after using it.\n\n
  * @a Release sync_job_user_data with bundle_free() after using it.
@@ -151,7 +151,7 @@ typedef bool (*sync_manager_sync_job_cb)(account_h account, const char *sync_job
 /**
  * @brief Requests Sync Manager to perform one time sync operation.
  *
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  *
  * @param[in] account                          An account handle on which sync operation was requested or @c NULL in the case of accountless sync operation
  * @param[in] sync_job_name                    A string representing a sync job which will be operated just one time
@@ -180,7 +180,7 @@ int sync_manager_on_demand_sync_job(account_h account, const char *sync_job_name
 /**
  * @brief Requests Sync Manager to perform periodic sync operations.
  *
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  *
  * @privlevel  public
  * @privilege  %http://tizen.org/privilege/alarm.set
@@ -216,13 +216,13 @@ int sync_manager_add_periodic_sync_job(account_h account, const char *sync_job_n
 /**
  * @brief Requests Sync Manager to perform sync operations whenever corresponding DB changed.
  *
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  * @privlevel  public
- * @privilege  %http://tizen.org/privilege/calendar.read since @if MOBILE 2.4 @endif
+ * @privilege  %http://tizen.org/privilege/calendar.read since 2.4
  * @privilege  %http://tizen.org/privilege/contact.read
  *
  * @remarks Data change sync job can be added by using its capability. In the case of adding a sync job with same capability, it will replace previous setting with new one. \n\n
- * %http://tizen.org/privilege/calendar.read is needed to add data change sync job for receiving notification with @ref SYNC_SUPPORTS_CAPABILITY_CALENDAR. This capability is supported on Mobile profile only. \n\n since @if MOBILE 2.4 @endif
+ * %http://tizen.org/privilege/calendar.read is needed to add data change sync job for receiving notification with @ref SYNC_SUPPORTS_CAPABILITY_CALENDAR. This capability is supported on Mobile profile only. \n\n since 2.4
  * %http://tizen.org/privilege/contact.read is needed to add data change sync job for receiving notification with @ref SYNC_SUPPORTS_CAPABILITY_CONTACT.
  *
  * @param[in] account                          An account handle on which sync operation was requested or @c NULL in the case of accountless sync operation
@@ -252,7 +252,7 @@ int sync_manager_add_data_change_sync_job(account_h account, const char *sync_ca
 /**
  * @brief Requests Sync Manager to remove corresponding sync job id.
  *
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  *
  * @remarks                    sync_job_id can not be @c NULL.
  *
@@ -280,7 +280,7 @@ int sync_manager_remove_sync_job(int sync_job_id);
 /**
  * @brief Requests Sync Manager to query corresponding sync request.
  *
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.4
  *
  * @param[in] sync_job_cb                      A callback function for receiving the result of this API
  * @param[in] user_data                                User data which contains additional information related foreach job or @c NULL if do not want to transfer user data