From 4580a582e8a4f73f7516740c240beee0ef1d3001 Mon Sep 17 00:00:00 2001 From: Yogesh Kumar Shukla Date: Thu, 26 Sep 2024 17:10:23 +0530 Subject: [PATCH] [9.0][calendar-service] Removing conditional Statments for Mobile/Wearable/TV Profile Change-Id: I19fe204bc2493171698c9ff47d8c918827a5df6f --- include/calendar_db.h | 46 ++++++++++++------------- include/calendar_errors.h | 2 +- include/calendar_filter.h | 18 +++++----- include/calendar_list.h | 20 +++++------ include/calendar_query.h | 12 +++---- include/calendar_record.h | 40 ++++++++++----------- include/calendar_reminder.h | 6 ++-- include/calendar_service.h | 10 +++--- include/calendar_types.h | 82 ++++++++++++++++++++++---------------------- include/calendar_vcalendar.h | 8 ++--- 10 files changed, 122 insertions(+), 122 deletions(-) diff --git a/include/calendar_db.h b/include/calendar_db.h index 2c31dad..331649d 100644 --- a/include/calendar_db.h +++ b/include/calendar_db.h @@ -37,7 +37,7 @@ extern "C" { /** * @brief Called when a designated view changes. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] view_uri The view URI * @param[in] user_data The user data passed from the callback registration function * @see calendar_db_add_changed_cb() @@ -47,7 +47,7 @@ typedef void (*calendar_db_changed_cb)(const char* view_uri, void* user_data); /** * @brief Inserts a record into the calendar database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/calendar.write * @param[in] record The record handle @@ -77,7 +77,7 @@ int calendar_db_insert_record(calendar_record_h record, int* record_id); * @brief Gets a record from the calendar database. * @details This function creates a new record handle from the calendar database by the given @a record_id. \n * @a record will be created and filled with record information. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/calendar.read * @remarks You must release @a record using calendar_record_destroy(). @@ -107,7 +107,7 @@ int calendar_db_get_record(const char* view_uri, int record_id, calendar_record_ /** * @brief Updates a record in the calendar database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/calendar.write * @param[in] record The record handle @@ -135,7 +135,7 @@ int calendar_db_update_record(calendar_record_h record); /** * @brief Deletes a record from the calendar database with related child records. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/calendar.write * @param[in] view_uri The view URI of a record @@ -162,7 +162,7 @@ int calendar_db_delete_record(const char* view_uri, int record_id); /** * @brief Retrieves all records as a list. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/calendar.read * @remarks You must release @a record_list using calendar_list_destroy(). @@ -191,7 +191,7 @@ int calendar_db_get_all_records(const char* view_uri, int offset, int limit, cal /** * @brief Retrieves records using a query handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/calendar.read * @remarks You must release @a record_list using calendar_list_destroy(). @@ -220,7 +220,7 @@ int calendar_db_get_records_with_query(calendar_query_h query, int offset, int l /** * @brief Gets the record count of a specific view. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/calendar.read * @param[in] view_uri The view URI to get records from @@ -245,7 +245,7 @@ int calendar_db_get_count(const char* view_uri, int *count); /** * @brief Gets the record count with a query handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/calendar.read * @param[in] query The query handle used for filtering the results @@ -270,7 +270,7 @@ int calendar_db_get_count_with_query(calendar_query_h query, int *count); /** * @brief Inserts multiple records into the calendar database as a batch operation. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/calendar.write * @param[in] record_list The record list handle @@ -299,7 +299,7 @@ int calendar_db_insert_records(calendar_list_h record_list, int** record_id_arra /** * @brief Updates multiple records into the calendar database as a batch operation. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/calendar.write * @param[in] record_list The record list handle @@ -326,7 +326,7 @@ int calendar_db_update_records(calendar_list_h record_list); /** * @brief Deletes multiple records with related child records from the calendar database as a batch operation. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/calendar.write * @param[in] view_uri The view URI of the records to delete @@ -354,7 +354,7 @@ int calendar_db_delete_records(const char* view_uri, int record_id_array[], int /** * @brief Gets the current calendar database version. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/calendar.read * @param[out] calendar_db_version The calendar database version @@ -377,7 +377,7 @@ int calendar_db_get_current_version(int* calendar_db_version); /** * @brief Registers a callback function to be invoked when a record changes. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/calendar.read * @remarks If successive change notification produced on the view_uri are identical, @@ -408,7 +408,7 @@ int calendar_db_add_changed_cb(const char* view_uri, calendar_db_changed_cb call /** * @brief Unregisters a callback function. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/calendar.read * @param[in] view_uri The view URI of the record to subscribe for change notifications @@ -432,7 +432,7 @@ int calendar_db_remove_changed_cb(const char* view_uri, calendar_db_changed_cb c /** * @brief Retrieves records with the given calendar database version. * @details This function finds all the changed records since the given @a calendar_db_version. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/calendar.read * @remarks You must release @a change_record_list using calendar_list_destroy(). @@ -461,7 +461,7 @@ int calendar_db_get_changes_by_version(const char* view_uri, int calendar_book_i /** * @brief Inserts a vcalendar stream into the calendar database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/calendar.write * @param[in] vcalendar_stream The vcalendar stream @@ -489,7 +489,7 @@ int calendar_db_insert_vcalendars(const char* vcalendar_stream, int **record_id_ /** * @brief Replaces a vcalendar stream in the calendar database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/calendar.write * @param[in] vcalendar_stream The vcalendar stream @@ -516,7 +516,7 @@ int calendar_db_replace_vcalendars(const char* vcalendar_stream, int *record_id_ /** * @brief Replaces a record in the calendar database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/calendar.write * @param[in] record The record handle @@ -544,7 +544,7 @@ int calendar_db_replace_record(calendar_record_h record, int record_id); /** * @brief Replaces multiple records in the calendar database as a batch operation. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/calendar.write * @param[in] record_list The record list handle @@ -573,7 +573,7 @@ int calendar_db_replace_records(calendar_list_h record_list, int *record_id_arra /** * @brief Gets the last successful change version of the database on the current connection. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/calendar.read * @param[out] last_change_version The calendar database version on the current connection @@ -595,7 +595,7 @@ int calendar_db_get_last_change_version(int* last_change_version); * @brief Retrieves changed exception records since the given calendar database version. * Exceptions are the modified or deleted instances in a recurring event. * @details This function finds all the changed records since the given @a calendar_db_version. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/calendar.read * @remarks You must release @a change_record_list using calendar_list_destroy(). @@ -622,7 +622,7 @@ int calendar_db_get_changes_exception_by_version(const char* view_uri, int origi /** * @brief Cleans the data after sync. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/calendar.write * @param[in] calendar_book_id The calendar book ID diff --git a/include/calendar_errors.h b/include/calendar_errors.h index 04b4ebd..06b449e 100644 --- a/include/calendar_errors.h +++ b/include/calendar_errors.h @@ -37,7 +37,7 @@ extern "C" { /** * @brief Enumeration for calendar errors. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ typedef enum { CALENDAR_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */ diff --git a/include/calendar_filter.h b/include/calendar_filter.h index 25cfa42..2bc0b3a 100644 --- a/include/calendar_filter.h +++ b/include/calendar_filter.h @@ -37,7 +37,7 @@ extern "C" { /** * @brief Creates a filter handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @remarks You must release @a filter using calendar_filter_destroy(). * @param[in] view_uri The view URI of a filter * @param[out] filter The filter handle @@ -56,7 +56,7 @@ int calendar_filter_create(const char* view_uri, calendar_filter_h* filter); /** * @brief Destroys a filter handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] filter The filter handle * @return @c 0 on success, * otherwise a negative error value @@ -71,7 +71,7 @@ int calendar_filter_destroy(calendar_filter_h filter); /** * @brief Adds a condition for the string type property. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] filter The filter handle * @param[in] property_id The property ID to add a condition * @param[in] match The match flag @@ -89,7 +89,7 @@ int calendar_filter_add_str(calendar_filter_h filter, unsigned int property_id, /** * @brief Adds a condition for the integer type property. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] filter The filter handle * @param[in] property_id The property ID to add a condition * @param[in] match The match flag @@ -107,7 +107,7 @@ int calendar_filter_add_int(calendar_filter_h filter, unsigned int property_id, /** * @brief Adds a condition for the double type property. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] filter The filter handle * @param[in] property_id The property ID to add a condition * @param[in] match The match flag @@ -125,7 +125,7 @@ int calendar_filter_add_double(calendar_filter_h filter, unsigned int property_i /** * @brief Adds a condition for the long long int type property. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] filter The filter handle * @param[in] property_id The property ID to add a condition * @param[in] match The match flag @@ -143,7 +143,7 @@ int calendar_filter_add_lli(calendar_filter_h filter, unsigned int property_id, /** * @brief Adds a condition for the calendar_time_s type property. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] filter The filter handle * @param[in] property_id The property ID to add a condition * @param[in] match The match flag @@ -161,7 +161,7 @@ int calendar_filter_add_caltime(calendar_filter_h filter, unsigned int property_ /** * @brief Adds a child filter to a parent filter. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] parent_filter The parent filter handle * @param[in] child_filter The child filter handle * @return @c 0 on success, @@ -177,7 +177,7 @@ int calendar_filter_add_filter(calendar_filter_h parent_filter, calendar_filter_ /** * @brief Adds an operator between conditions. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] filter The filter handle * @param[in] operator_type The operator type * @return @c 0 on success, diff --git a/include/calendar_list.h b/include/calendar_list.h index 5aef347..addd8d3 100644 --- a/include/calendar_list.h +++ b/include/calendar_list.h @@ -33,7 +33,7 @@ extern "C" { /** * @brief Creates a calendar list handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @remarks You must release @a calendar_list using calendar_list_destroy(). * @param[out] out_list The calendar list handle * @return @c 0 on success, @@ -50,7 +50,7 @@ int calendar_list_create(calendar_list_h* out_list); /** * @brief Destroys a calendar list handle and releases all its resources. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] list The calendar list handle * @param[in] delete_record If @c true, child records are destroyed automatically, * otherwise @c false @@ -67,7 +67,7 @@ int calendar_list_destroy(calendar_list_h list, bool delete_record); /** * @brief Retrieves the number of calendar entities in a calendar list. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] list The calendar list handle * @param[out] count The count of the calendar entity * @return @c 0 on success, @@ -83,7 +83,7 @@ int calendar_list_get_count(calendar_list_h list, int *count); /** * @brief Adds a record to the calendar list. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] list The calendar list handle * @param[in] record The record handle * @return @c 0 on success, @@ -101,7 +101,7 @@ int calendar_list_add(calendar_list_h list, calendar_record_h record); * @brief Removes a record from the calendar list. * @details If the record is the current record, then the current record is changed to the next record.\n * If the record is the last record then the current record will be @c NULL. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] list The calendar list handle * @param[in] record The record handle * @return @c 0 on success, @@ -119,7 +119,7 @@ int calendar_list_remove(calendar_list_h list, calendar_record_h record); /** * @brief Retrieves a record from the calendar list. * @details The default current record is the first record. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @remarks You MUST NOT destroy the @a record handle. * It is destroyed automatically when the @a list is destroyed. * @param[in] list The calendar list handle @@ -137,7 +137,7 @@ int calendar_list_get_current_record_p(calendar_list_h list, calendar_record_h* /** * @brief Moves a calendar list to the previous position. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] list The calendar list handle * @return @c 0 on success, * otherwise a negative error value @@ -153,7 +153,7 @@ int calendar_list_prev(calendar_list_h list); /** * @brief Moves a calendar list to the next position. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] list The calendar list handle * @return @c 0 on success, * otherwise a negative error value @@ -169,7 +169,7 @@ int calendar_list_next(calendar_list_h list); /** * @brief Moves a calendar list to the first position. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] list The calendar list handle * @return @c 0 on success, * otherwise a negative error value @@ -184,7 +184,7 @@ int calendar_list_first(calendar_list_h list); /** * @brief Moves a calendar list to the last position. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] list The calendar list handle * @return @c 0 on success, * otherwise a negative error value diff --git a/include/calendar_query.h b/include/calendar_query.h index 3c78f00..b6d30a2 100644 --- a/include/calendar_query.h +++ b/include/calendar_query.h @@ -37,7 +37,7 @@ extern "C" { /** * @brief Creates a query handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @remarks You must release @a query using calendar_query_destroy(). * @param[in] view_uri The view URI of a query * @param[out] query The filter handle @@ -56,7 +56,7 @@ int calendar_query_create(const char* view_uri, calendar_query_h* query); /** * @brief Destroys a query handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] query The query handle * @return @c 0 on success, * otherwise a negative error value @@ -72,7 +72,7 @@ int calendar_query_destroy(calendar_query_h query); /** * @brief Adds property IDs for projection. * @details Property IDs can be of one of the properties of view_uri which is used in calendar_query_create(). - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] query The query handle * @param[in] property_id_array The property ID array * @param[in] count The number of property IDs @@ -88,7 +88,7 @@ int calendar_query_set_projection(calendar_query_h query, unsigned int property_ /** * @brief Sets the "distinct" option for projection. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] query The query handle * @param[in] set If @c true it is set, * otherwise if @c false it is unset @@ -104,7 +104,7 @@ int calendar_query_set_distinct(calendar_query_h query, bool set); /** * @brief Sets the filter for a query. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] query The query handle * @param[in] filter The filter handle * @return @c 0 on success, @@ -120,7 +120,7 @@ int calendar_query_set_filter(calendar_query_h query, calendar_filter_h filter); /** * @brief Sets the sort mode for a query. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] query The query handle * @param[in] property_id The property ID to sort * @param[in] is_ascending If @c true it sorts in the ascending order, diff --git a/include/calendar_record.h b/include/calendar_record.h index ae2d915..46ddd0e 100644 --- a/include/calendar_record.h +++ b/include/calendar_record.h @@ -37,7 +37,7 @@ extern "C" { /** * @brief Creates a record handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @remarks You must release @a record using calendar_record_destroy(). * @param[in] view_uri The view URI * @param[out] out_record The record handle @@ -57,7 +57,7 @@ int calendar_record_create(const char* view_uri, calendar_record_h* out_record); /** * @brief Destroys a record handle and releases all its resources. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] record The record handle * @param[in] delete_child If @c true, child records are destroyed automatically, * otherwise @c false @@ -75,7 +75,7 @@ int calendar_record_destroy(calendar_record_h record, bool delete_child); /** * @brief Makes a clone of a record handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @remarks You must release @a cloned_record using calendar_record_destroy(). * @param[in] record The record handle * @param[out] out_record The cloned record handle @@ -93,7 +93,7 @@ int calendar_record_clone(calendar_record_h record, calendar_record_h* out_recor /** * @brief Gets a URI string from a record. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] record The record handle * @param[out] uri The URI of the record * @return @c 0 on success, @@ -108,7 +108,7 @@ int calendar_record_get_uri_p(calendar_record_h record, char** uri); /** * @brief Gets a string from a record. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @remarks You must release @a value using free(). * @param[in] record The record handle * @param[in] property_id The property ID @@ -128,7 +128,7 @@ int calendar_record_get_str(calendar_record_h record, unsigned int property_id, /** * @brief Gets a string pointer from a record. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @remarks You MUST NOT release @a value. * @param[in] record The record handle * @param[in] property_id The property ID @@ -148,7 +148,7 @@ int calendar_record_get_str_p(calendar_record_h record, unsigned int property_id /** * @brief Gets an integer value from a record. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] record The record handle * @param[in] property_id The property ID * @param[out] out_value The result value @@ -166,7 +166,7 @@ int calendar_record_get_int(calendar_record_h record, unsigned int property_id, /** * @brief Gets a double value from a record. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] record The record handle * @param[in] property_id The property ID * @param[out] out_value The result value @@ -184,7 +184,7 @@ int calendar_record_get_double(calendar_record_h record, unsigned int property_i /** * @brief Gets a long long integer value from a record. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] record The record handle * @param[in] property_id The property ID * @param[out] out_value The result value @@ -202,7 +202,7 @@ int calendar_record_get_lli(calendar_record_h record, unsigned int property_id, /** * @brief Gets a calendar_caltime_s value from a record. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] record The record handle * @param[in] property_id The property ID * @param[out] out_value The result value @@ -220,7 +220,7 @@ int calendar_record_get_caltime(calendar_record_h record, unsigned int property_ /** * @brief Sets a string to a record. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] record The record handle * @param[in] property_id The property ID * @param[in] value The value to be set @@ -239,7 +239,7 @@ int calendar_record_set_str(calendar_record_h record, unsigned int property_id, /** * @brief Sets an integer value to a record. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] record The record handle * @param[in] property_id The property ID * @param[in] value The value to be set @@ -257,7 +257,7 @@ int calendar_record_set_int(calendar_record_h record, unsigned int property_id, /** * @brief Sets a double value to a record. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] record The record handle * @param[in] property_id The property ID * @param[in] value The value to be set @@ -275,7 +275,7 @@ int calendar_record_set_double(calendar_record_h record, unsigned int property_i /** * @brief Sets a long long integer value to a record. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] record The record handle * @param[in] property_id The property ID * @param[in] value The value to be set @@ -293,7 +293,7 @@ int calendar_record_set_lli(calendar_record_h record, unsigned int property_id, /** * @brief Sets a calendar_time_s value to a record. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] record The record handle * @param[in] property_id The property ID * @param[in] value The value to be set @@ -311,7 +311,7 @@ int calendar_record_set_caltime(calendar_record_h record, unsigned int property_ /** * @brief Adds a child record to the parent record. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] record The parent record handle * @param[in] property_id The property ID * @param[in] child_record The handle of the child record to be added to the parent record @@ -329,7 +329,7 @@ int calendar_record_add_child_record(calendar_record_h record, unsigned int prop /** * @brief Removes a child record from the parent record. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] record The parent record handle * @param[in] property_id The property ID * @param[in] child_record The handle of the child record to be removed from the parent record @@ -347,7 +347,7 @@ int calendar_record_remove_child_record(calendar_record_h record, unsigned int p /** * @brief Gets the number of child records in a record. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] record The parent record handle * @param[in] property_id The property ID * @param[out] count The child record count @@ -366,7 +366,7 @@ int calendar_record_get_child_record_count(calendar_record_h record, unsigned in /** * @brief Gets a child record handle pointer from the parent record. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @remarks You MUST NOT release @a child_record. \n * It is released when the parent record handle is destroyed. * @param[in] record The record handle @@ -389,7 +389,7 @@ int calendar_record_get_child_record_at_p(calendar_record_h record, unsigned int /** * @brief Makes a clone of a given record's child record list. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @remarks You must release @a out_list using calendar_list_destroy(). * @param[in] record The record handle * @param[in] property_id The property ID diff --git a/include/calendar_reminder.h b/include/calendar_reminder.h index 60c0192..f838b81 100644 --- a/include/calendar_reminder.h +++ b/include/calendar_reminder.h @@ -37,7 +37,7 @@ extern "C" { /** * @brief Called when an alarm is alerted. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] param Value string like id=value&time=value&tick=value&unit=value&type=value * @param[in] user_data The user data passed from the callback registration function * @see calendar_reminder_add_cb() @@ -47,7 +47,7 @@ typedef void (*calendar_reminder_cb)(const char *param, void* user_data); /** * @brief Adds a callback to get a notification when an alarm gives an alert. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/calendar.read * @param[in] callback The callback to be added @@ -67,7 +67,7 @@ int calendar_reminder_add_cb(calendar_reminder_cb callback, void *user_data); /** * @brief Removes a callback to get a notification when an alarm gives an alert. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] callback The callback to be removed * @param[in] user_data The user data * @return @c 0 on success, diff --git a/include/calendar_service.h b/include/calendar_service.h index e887712..d45a580 100644 --- a/include/calendar_service.h +++ b/include/calendar_service.h @@ -40,7 +40,7 @@ extern "C" { /** * @brief Connects to the calendar service. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @remarks Opening the connection is necessary to access the calendar database and perform operations such as fetching, inserting, or updating records.\n * The execution of calendar_connect() and calendar_disconnect() could slow down your application, so you are recommended not to call them frequently. * @return @c 0 on success, @@ -61,7 +61,7 @@ int calendar_connect(void); /** * @brief Disconnects from the calendar service. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @remarks If there is no open connection, this function returns #CALENDAR_ERROR_DB_FAILED. * @return @c 0 on success, * otherwise a negative error value @@ -78,7 +78,7 @@ int calendar_disconnect(void); /** * @brief Connects to the calendar service on a thread. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @remarks Opening a connection is necessary to access the calendar database and perform operations such as fetching, inserting, or updating records.\n * On a thread environment with calendar_connect(), request in one thread could fail, while another request connection is working in the other thread. * To prevent request failure, calendar_connect_on_thread() is recommended. @@ -96,7 +96,7 @@ int calendar_connect_on_thread(void); /** * @brief Disconnects from the calendar service on a thread. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @remarks If there is no open connection, this function returns #CALENDAR_ERROR_DB_FAILED. * @return @c 0 on success, * otherwise a negative error value @@ -113,7 +113,7 @@ int calendar_disconnect_on_thread(void); /** * @brief Connects to the calendar service. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @remarks Opening a connection is necessary to access the calendar database and perform operations such as fetching, inserting, or updating records.\n * Before the calendar-service daemon is ready, if you call calendar_connect(), it could fail. * It is recommended to call this API with #CALENDAR_CONNECT_FLAG_RETRY flags in such a situation. diff --git a/include/calendar_types.h b/include/calendar_types.h index 2f32031..647e529 100644 --- a/include/calendar_types.h +++ b/include/calendar_types.h @@ -62,31 +62,31 @@ extern "C" { /** * @brief Handle for calendar record. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ _CALENDAR_HANDLE(calendar_record_h) /** * @brief Handle for calendar filter. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ _CALENDAR_HANDLE(calendar_filter_h) /** * @brief Handle for calendar list. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ _CALENDAR_HANDLE(calendar_list_h) /** * @brief Handle for calendar query. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ _CALENDAR_HANDLE(calendar_query_h) /** * @brief The calendar handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ _CALENDAR_HANDLE(calendar_h) @@ -106,63 +106,63 @@ _CALENDAR_HANDLE(calendar_h) /** * @brief Definition for a calendar connect flag. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ #define CALENDAR_CONNECT_FLAG_NONE 0x00000000 /** * @brief Definition for a calendar connect flag. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ #define CALENDAR_CONNECT_FLAG_RETRY 0x00000001 /** * @brief Definition for a default event calendar book database ID. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ #define DEFAULT_EVENT_CALENDAR_BOOK_ID 1 /** * @brief Definition for a default to-do calendar book database ID. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ #define DEFAULT_TODO_CALENDAR_BOOK_ID 2 /** * @brief Definition for a default birthday calendar book database ID. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ #define DEFAULT_BIRTHDAY_CALENDAR_BOOK_ID 3 /** * @brief Definition for no due date of a to-do. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ #define CALENDAR_TODO_NO_DUE_DATE INT64_MAX /** * @brief Definition for no start date of a to-do. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ #define CALENDAR_TODO_NO_START_DATE (-INT64_MAX) /** * @brief Definition for no until of a record. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ #define CALENDAR_RECORD_NO_UNTIL INT64_MAX /** * @brief Definition for no coordinate(latitude/longitude) of a record. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ #define CALENDAR_RECORD_NO_COORDINATE 1000.0 @@ -180,14 +180,14 @@ _CALENDAR_HANDLE(calendar_h) /** * @brief Definition for all calendar books. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ #define CALENDAR_BOOK_FILTER_ALL -1 /** * @brief Enumeration for the filter match type of a string. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ typedef enum { CALENDAR_MATCH_EXACTLY, /**< Full string, case-sensitive */ @@ -202,7 +202,7 @@ typedef enum { /** * @brief Enumeration for the filter match type of an integer. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ typedef enum { CALENDAR_MATCH_EQUAL, /**< '=' */ @@ -218,7 +218,7 @@ typedef enum { /** * @brief Enumeration for a filter operator. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ typedef enum { CALENDAR_FILTER_OPERATOR_AND, /**< AND */ @@ -241,7 +241,7 @@ typedef enum { /** * @brief Enumeration for the calendar book type. * @details "OR"ing is supported. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ typedef enum { CALENDAR_BOOK_TYPE_NONE = 0, /**< Default calendar book type */ @@ -252,7 +252,7 @@ typedef enum { /** * @brief Enumeration for the calendar sensitivity type. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ typedef enum { CALENDAR_SENSITIVITY_PUBLIC = 0, /**< Public Sensitivity */ @@ -263,7 +263,7 @@ typedef enum { /** * @brief Enumeration for the attendee status. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ typedef enum { CALENDAR_ATTENDEE_STATUS_PENDING = 0, /**< Pending status */ @@ -279,7 +279,7 @@ typedef enum { /** * @brief Enumeration for the attendee role. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ typedef enum { CALENDAR_ATTENDEE_ROLE_REQ_PARTICIPANT = 0, /**< Participation is required */ @@ -292,7 +292,7 @@ typedef enum { /** * @brief Enumeration for the attendee cutype. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ typedef enum { CALENDAR_ATTENDEE_CUTYPE_INDIVIDUAL = 0, /**< Individual cutype */ @@ -306,7 +306,7 @@ typedef enum { /** * @brief Enumeration for the alarm time unit type of an event, such as minutes, hours, days, and so on. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ typedef enum { CALENDAR_ALARM_NONE = -1, /**< No reminder set */ @@ -320,7 +320,7 @@ typedef enum { /** * @brief Enumeration for the alarm action. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ typedef enum { CALENDAR_ALARM_ACTION_AUDIO = 0, /**< Audio action */ @@ -332,7 +332,7 @@ typedef enum { /** * @brief Enumeration for the frequency of an event's recurrence. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ typedef enum { CALENDAR_RECURRENCE_NONE, /**< No recurrence event */ @@ -345,7 +345,7 @@ typedef enum { /** * @brief Enumeration for the event status. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ typedef enum { CALENDAR_EVENT_STATUS_NONE = 0x01, /**< No status */ @@ -357,7 +357,7 @@ typedef enum { /** * @brief Enumeration for the busy status of an event. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ typedef enum { CALENDAR_EVENT_BUSY_STATUS_FREE = 0, /**< The free status */ @@ -369,7 +369,7 @@ typedef enum { /** * @brief Enumeration for the calendar event item's priority. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ typedef enum { CALENDAR_EVENT_PRIORITY_NONE = 0x01, /**< No priority */ @@ -381,7 +381,7 @@ typedef enum { /** * @brief Enumeration for the calendar to-do item's priority. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ typedef enum { CALENDAR_TODO_PRIORITY_NONE = 0x01, /**< No priority */ @@ -393,7 +393,7 @@ typedef enum { /** * @brief Enumeration for the status of a to-do. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ typedef enum { CALENDAR_TODO_STATUS_NONE = 0x0100, /**< No status */ @@ -406,7 +406,7 @@ typedef enum { /** * @brief Enumeration for the time type. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ typedef enum { CALENDAR_TIME_UTIME = 0, /**< Unix time */ @@ -416,7 +416,7 @@ typedef enum { /** * @brief Enumeration for the range type. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ typedef enum { CALENDAR_RANGE_UNTIL, /**< Range until */ @@ -427,7 +427,7 @@ typedef enum { /** * @brief Enumeration for the system type. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ typedef enum { CALENDAR_SYSTEM_NONE, /**< Locale's default calendar */ @@ -438,7 +438,7 @@ typedef enum { /** * @brief Enumeration for the meeting status. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ typedef enum { CALENDAR_MEETING_STATUS_NOTMEETING = 0, /**< No meeting */ @@ -451,7 +451,7 @@ typedef enum { /** * @brief Enumeration for weekdays. * @details Same value as UCalendarDaysOfWeek in ICU. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ typedef enum { CALENDAR_SUNDAY = 1, /**< Sunday */ @@ -466,7 +466,7 @@ typedef enum { /** * @brief Enumeration for the modified status of a record. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ typedef enum { CALENDAR_RECORD_MODIFIED_STATUS_INSERTED = 0, /**< The record is inserted */ @@ -477,7 +477,7 @@ typedef enum { /** * @brief The structure of time. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ typedef struct { calendar_time_type_e type; /**< type */ @@ -498,7 +498,7 @@ typedef struct { /** * @brief Enumeration for the type of a record. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ typedef enum { CALENDAR_RECORD_TYPE_NONE = 0, /**< No record type */ @@ -510,7 +510,7 @@ typedef enum { /** * @brief Enumeration for the book mode. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ typedef enum { CALENDAR_BOOK_MODE_NONE = 0, /**< All modules can read and write records of this calendar_book */ @@ -520,7 +520,7 @@ typedef enum { /** * @brief Enumeration for the sync event type. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 */ typedef enum { CALENDAR_BOOK_SYNC_EVENT_FOR_ME = 0, /**< This book would not be synced to others except me */ diff --git a/include/calendar_vcalendar.h b/include/calendar_vcalendar.h index 993ed69..c92a039 100644 --- a/include/calendar_vcalendar.h +++ b/include/calendar_vcalendar.h @@ -37,7 +37,7 @@ extern "C" { /** * @brief Retrieves a vcalendar stream from a calendar list. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] calendar_list The calendar list handle * @param[out] vcalendar_stream The vcalendar stream * @return @c 0 on success, @@ -54,7 +54,7 @@ int calendar_vcalendar_make_from_records(calendar_list_h calendar_list, char **v /** * @brief Retrieves all calendars from a vcalendar stream. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] vcalendar_stream The vcalendar stream * @param[out] calendar_list The calendar list handle * @return @c 0 on success, @@ -73,7 +73,7 @@ int calendar_vcalendar_parse_to_calendar(const char* vcalendar_stream, calendar_ /** * @brief Called to get a record handle of * \ref CAPI_SOCIAL_CALENDAR_SVC_VIEW_MODULE_calendar_event or \ref CAPI_SOCIAL_CALENDAR_SVC_VIEW_MODULE_calendar_todo. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] record The record handle (\ref CAPI_SOCIAL_CALENDAR_SVC_VIEW_MODULE_calendar_event or \ref CAPI_SOCIAL_CALENDAR_SVC_VIEW_MODULE_calendar_todo) * @param[in] user_data The user data passed from the foreach function * @return @c true to continue with the next iteration of the loop, @@ -88,7 +88,7 @@ typedef bool (*calendar_vcalendar_parse_cb)(calendar_record_h record, void *user /** * @brief Retrieves all events or to-dos * (\ref CAPI_SOCIAL_CALENDAR_SVC_VIEW_MODULE_calendar_event or \ref CAPI_SOCIAL_CALENDAR_SVC_VIEW_MODULE_calendar_todo) from a vCalendar file. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @elseif TV 4.0 @endif + * @since_tizen 2.3 * @param[in] vcalendar_file_path The file path of the vCalendar stream file * @param[in] callback The callback function to be invoked * @param[in] user_data The user data to be passed to the callback function -- 2.7.4