diff options
author | Krishna Kant Jaju <krishna.jaju@samsung.com> | 2023-12-12 14:07:02 +0530 |
---|---|---|
committer | Krishna Kant Jaju <krishna.jaju@samsung.com> | 2023-12-12 14:08:40 +0530 |
commit | 91bba46492cfb1b35189365f8505b2d877bab988 (patch) | |
tree | 4762598c783af3b8fdb1bf5581c8a1019e59867f | |
parent | 5466af8900d6b0e9a802c845980fe7775595f22c (diff) | |
download | sync-manager-accepted/tizen_unified_dev.tar.gz sync-manager-accepted/tizen_unified_dev.tar.bz2 sync-manager-accepted/tizen_unified_dev.zip |
Remove conditional statements for Mobile & Wearable profiletizen_9.0_m2_releaseaccepted/tizen/unified/x/asan/20240813.231827accepted/tizen/unified/x/20240726.013222accepted/tizen/unified/toolchain/20240812.133347accepted/tizen/unified/dev/20240729.000815accepted/tizen/unified/20240729.124826accepted/tizen/unified/20240725.155008accepted/tizen/9.0/unified/20241030.231722tizen_9.0accepted/tizen_unified_x_asanaccepted/tizen_unified_xaccepted/tizen_unified_toolchainaccepted/tizen_unified_devaccepted/tizen_unifiedaccepted/tizen_9.0_unified
Change-Id: I36047ccd9be85092a75bb28e56719bc5bf19fddb
Signed-off-by: Krishna Kant Jaju <krishna.jaju@samsung.com>
-rw-r--r-- | include/sync-error.h | 2 | ||||
-rw-r--r-- | include/sync_adapter.h | 8 | ||||
-rw-r--r-- | include/sync_manager.h | 32 |
3 files changed, 21 insertions, 21 deletions
diff --git a/include/sync-error.h b/include/sync-error.h index 038f68c..26786d5 100644 --- a/include/sync-error.h +++ b/include/sync-error.h @@ -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 */ diff --git a/include/sync_adapter.h b/include/sync_adapter.h index e9c16ed..26223ab 100644 --- a/include/sync_adapter.h +++ b/include/sync_adapter.h @@ -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 diff --git a/include/sync_manager.h b/include/sync_manager.h index 8e1f003..e3c845d 100644 --- a/include/sync_manager.h +++ b/include/sync_manager.h @@ -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 |