add wearable profile 76/94476/3 accepted/tizen/common/20161102.122228 accepted/tizen/ivi/20161103.000326 accepted/tizen/ivi/20161106.234949 accepted/tizen/mobile/20161103.000307 accepted/tizen/mobile/20161106.234910 accepted/tizen/wearable/20161106.234931 submit/tizen/20161102.095220 submit/tizen/20161104.045456
authorJeesun Kim <iamjs.kim@samsung.com>
Mon, 31 Oct 2016 06:08:52 +0000 (15:08 +0900)
committerJeesun Kim <iamjs.kim@samsung.com>
Tue, 1 Nov 2016 02:43:49 +0000 (11:43 +0900)
Change-Id: I50ddffe9bf4ce1d6ea91f45e9236a625718513b2

include/calendar_db.h
include/calendar_errors.h
include/calendar_filter.h
include/calendar_list.h
include/calendar_query.h
include/calendar_record.h
include/calendar_reminder.h
include/calendar_service.h
include/calendar_types.h
include/calendar_vcalendar.h
packaging/calendar-service.spec

index 0b61614..8acb4bd 100644 (file)
@@ -37,7 +37,7 @@ extern "C" {
 
 /**
  * @brief Called when a designated view changes.
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]   view_uri   The view URI
  * @param[in]   user_data  The user data passed from the callback registration function
@@ -49,7 +49,7 @@ typedef void (*calendar_db_changed_cb)(const char* view_uri, void* user_data);
 /**
  * @brief Inserts a record into the calendar database.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  * @privlevel public
  * @privilege %http://tizen.org/privilege/calendar.write
  *
@@ -82,7 +82,7 @@ int calendar_db_insert_record(calendar_record_h record, int* record_id);
  * @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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  * @privlevel public
  * @privilege %http://tizen.org/privilege/calendar.read
  *
@@ -115,7 +115,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  * @privlevel public
  * @privilege %http://tizen.org/privilege/calendar.write
  *
@@ -145,7 +145,7 @@ int calendar_db_update_record(calendar_record_h record);
 /**
  * @brief Deletes a record from the calendar database with related child records.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  * @privlevel public
  * @privilege %http://tizen.org/privilege/calendar.write
  *
@@ -174,7 +174,7 @@ int calendar_db_delete_record(const char* view_uri, int record_id);
 /**
  * @brief Retrieves all records as a list.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  * @privlevel public
  * @privilege %http://tizen.org/privilege/calendar.read
  *
@@ -206,7 +206,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  * @privlevel public
  * @privilege %http://tizen.org/privilege/calendar.read
  *
@@ -238,7 +238,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  * @privlevel public
  * @privilege %http://tizen.org/privilege/calendar.read
  *
@@ -265,7 +265,7 @@ int calendar_db_get_count(const char* view_uri, int *count);
 /**
  * @brief Gets the record count with a query handle.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  * @privlevel public
  * @privilege %http://tizen.org/privilege/calendar.read
  *
@@ -292,7 +292,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  * @privlevel public
  * @privilege %http://tizen.org/privilege/calendar.write
  *
@@ -323,7 +323,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  * @privlevel public
  * @privilege %http://tizen.org/privilege/calendar.write
  *
@@ -352,7 +352,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  * @privlevel public
  * @privilege %http://tizen.org/privilege/calendar.write
  *
@@ -383,7 +383,7 @@ int calendar_db_delete_records(const char* view_uri, int record_id_array[], int
 /**
  * @brief      Gets the current calendar database version.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  * @privlevel public
  * @privilege %http://tizen.org/privilege/calendar.read
  *
@@ -408,7 +408,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  * @privlevel public
  * @privilege %http://tizen.org/privilege/calendar.read
  *
@@ -443,7 +443,7 @@ int calendar_db_add_changed_cb(const char* view_uri, calendar_db_changed_cb call
 /**
  * @brief Unregisters a callback function.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  * @privlevel public
  * @privilege %http://tizen.org/privilege/calendar.read
  *
@@ -471,7 +471,7 @@ int calendar_db_remove_changed_cb(const char* view_uri, calendar_db_changed_cb c
  *
   * @details This function finds all the changed records since the given @a calendar_db_version.
   *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  * @privlevel public
  * @privilege %http://tizen.org/privilege/calendar.read
  *
@@ -503,7 +503,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  * @privlevel public
  * @privilege %http://tizen.org/privilege/calendar.write
  *
@@ -533,7 +533,7 @@ int calendar_db_insert_vcalendars(const char* vcalendar_stream, int **record_id_
 /**
  * @brief Replaces a vcalendar stream in the calendar database.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  * @privlevel public
  * @privilege %http://tizen.org/privilege/calendar.write
  *
@@ -563,7 +563,7 @@ int calendar_db_replace_vcalendars(const char* vcalendar_stream, int *record_id_
 /**
  * @brief Replaces a record in the calendar database.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  * @privlevel public
  * @privilege %http://tizen.org/privilege/calendar.write
  *
@@ -593,7 +593,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  * @privlevel public
  * @privilege %http://tizen.org/privilege/calendar.write
  *
@@ -624,7 +624,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  * @privlevel public
  * @privilege %http://tizen.org/privilege/calendar.read
  *
@@ -649,7 +649,7 @@ int calendar_db_get_last_change_version(int* last_change_version);
  *
  * @details This function finds all the changed records since the given @a calendar_db_version.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  * @privlevel public
  * @privilege %http://tizen.org/privilege/calendar.read
  *
@@ -679,7 +679,7 @@ int calendar_db_get_changes_exception_by_version(const char* view_uri, int origi
 /**
  * @brief Cleans the data after sync.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  * @privlevel public
  * @privilege %http://tizen.org/privilege/calendar.write
 
index 484141c..c29fff8 100644 (file)
@@ -37,7 +37,7 @@ extern "C" {
 
 /**
  * @brief Enumeration for calendar errors.
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 typedef enum {
        CALENDAR_ERROR_NONE                 = TIZEN_ERROR_NONE,                     /**< Successful */
index 9dbc8cc..4be7d95 100644 (file)
@@ -38,7 +38,7 @@ extern "C" {
 /**
  * @brief Creates a filter handle.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @remarks You must release @a filter using calendar_filter_destroy().
  *
@@ -60,7 +60,7 @@ int calendar_filter_create(const char* view_uri, calendar_filter_h* filter);
 /**
  * @brief Destroys a filter handle.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]   filter   The filter handle
  *
@@ -76,7 +76,7 @@ int   calendar_filter_destroy(calendar_filter_h filter);
 /**
  * @brief Adds a condition for the string type property.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]   filter          The filter handle
  * @param[in]   property_id     The property ID to add a condition
@@ -95,7 +95,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]   filter          The filter handle
  * @param[in]   property_id     The property ID to add a condition
@@ -114,7 +114,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]   filter          The filter handle
  * @param[in]   property_id     The property ID to add a condition
@@ -133,7 +133,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]   filter          The filter handle
  * @param[in]   property_id     The property ID to add a condition
@@ -152,7 +152,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]   filter          The filter handle
  * @param[in]   property_id     The property ID to add a condition
@@ -171,7 +171,7 @@ int calendar_filter_add_caltime(calendar_filter_h filter, unsigned int property_
 /**
  * @brief Adds a child filter to a parent filter.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]   parent_filter      The parent filter handle
  * @param[in]   child_filter       The child filter handle
@@ -188,7 +188,7 @@ int calendar_filter_add_filter(calendar_filter_h parent_filter, calendar_filter_
 /**
  * @brief Adds an operator between conditions.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]   filter          The filter handle
  * @param[in]   operator_type   The operator type
index c1af29d..50c8454 100644 (file)
@@ -34,7 +34,7 @@ extern "C" {
 /**
  * @brief Creates a calendar list handle.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @remarks You must release @a calendar_list using calendar_list_destroy().
  *
@@ -53,7 +53,7 @@ int calendar_list_create(calendar_list_h* out_list);
 /**
  * @brief Destroys a calendar list handle and releases all its resources.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]   list            The calendar list handle
  * @param[in]   delete_record   If @c true, child records are destroyed automatically,
@@ -72,7 +72,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]  list     The calendar list handle
  * @param[out] count    The count of the calendar entity
@@ -89,7 +89,7 @@ int calendar_list_get_count(calendar_list_h list, int *count);
 /**
  * @brief Adds a record to the calendar list.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]  list    The calendar list handle
  * @param[in]  record  The record handle
@@ -108,7 +108,7 @@ int calendar_list_add(calendar_list_h list, calendar_record_h record);
  * @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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]  list    The calendar list handle
  * @param[in]  record  The record handle
@@ -127,7 +127,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @remarks You MUST NOT destroy the @a record handle.
  *          It is destroyed automatically when the @a list is destroyed.
@@ -146,7 +146,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]  list  The calendar list handle
  *
@@ -163,7 +163,7 @@ int calendar_list_prev(calendar_list_h list);
 /**
  * @brief Moves a calendar list to the next position.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]  list  The calendar list handle
  *
@@ -180,7 +180,7 @@ int calendar_list_next(calendar_list_h list);
 /**
  * @brief Moves a calendar list to the first position.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]  list  The calendar list handle
  *
@@ -196,7 +196,7 @@ int calendar_list_first(calendar_list_h list);
 /**
  * @brief Moves a calendar list to the last position.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]  list  The calendar list handle
  *
index 9d77984..6d641c7 100644 (file)
@@ -38,7 +38,7 @@ extern "C" {
 /**
  * @brief Creates a query handle.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @remarks You must release @a query using calendar_query_destroy().
  *
@@ -60,7 +60,7 @@ int calendar_query_create(const char* view_uri, calendar_query_h* query);
 /**
  * @brief Destroys a query handle.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in] query   The query handle
  *
@@ -78,7 +78,7 @@ int calendar_query_destroy(calendar_query_h query);
  *
  * @details Property IDs can be of one of the properties of view_uri which is used in calendar_query_create().
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]   query               The query handle
  * @param[in]   property_id_array   The property ID array
@@ -94,7 +94,7 @@ int calendar_query_set_projection(calendar_query_h query, unsigned int property_
 /**
  * @brief Sets the "distinct" option for projection.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]   query   The query handle
  * @param[in]   set     If @c true it is set,
@@ -110,7 +110,7 @@ int calendar_query_set_distinct(calendar_query_h query, bool set);
 /**
  * @brief Sets the filter for a query.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]  query    The query handle
  * @param[in]  filter   The filter handle
@@ -128,7 +128,7 @@ int calendar_query_set_filter(calendar_query_h query, calendar_filter_h filter);
 /**
  * @brief Sets the sort mode for a query.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]   query           The query handle
  * @param[in]   property_id     The property ID to sort
index adf07cb..db855d7 100644 (file)
@@ -38,7 +38,7 @@ extern "C" {
 /**
  * @brief Creates a record handle.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @remarks You must release @a record using calendar_record_destroy().
  *
@@ -61,7 +61,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]  record          The record handle
  * @param[in]  delete_child    If @c true, child records are destroyed automatically,
@@ -80,7 +80,7 @@ int calendar_record_destroy(calendar_record_h record, bool delete_child);
 /**
  * @brief Makes a clone of a record handle.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @remarks You must release @a cloned_record using calendar_record_destroy().
  *
@@ -100,7 +100,7 @@ int calendar_record_clone(calendar_record_h record, calendar_record_h* out_recor
 /**
  * @brief Gets a URI string from a record.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]   record   The record handle
  * @param[out]  uri      The URI of the record
@@ -115,7 +115,7 @@ int calendar_record_get_uri_p(calendar_record_h record, char** uri);
 /**
  * @brief Gets a string from a record.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @remarks You must release @a value using free().
  *
@@ -137,7 +137,7 @@ int calendar_record_get_str(calendar_record_h record, unsigned int property_id,
 /**
  * @brief Gets a string pointer from a record.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @remarks You MUST NOT release @a value.
  *
@@ -159,7 +159,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]   record          The record handle
  * @param[in]   property_id     The property ID
@@ -178,7 +178,7 @@ int calendar_record_get_int(calendar_record_h record, unsigned int property_id,
 /**
  * @brief Gets a double value from a record.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]   record          The record handle
  * @param[in]   property_id     The property ID
@@ -197,7 +197,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]   record          The record handle
  * @param[in]   property_id        The property ID
@@ -216,7 +216,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]   record          The record handle
  * @param[in]   property_id     The property ID
@@ -235,7 +235,7 @@ int calendar_record_get_caltime(calendar_record_h record, unsigned int property_
 /**
  * @brief Sets a string to a record.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]  record          The record handle
  * @param[in]  property_id     The property ID
@@ -255,7 +255,7 @@ int calendar_record_set_str(calendar_record_h record, unsigned int property_id,
 /**
  * @brief Sets an integer value to a record.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]  record          The record handle
  * @param[in]  property_id         The property ID
@@ -274,7 +274,7 @@ int calendar_record_set_int(calendar_record_h record, unsigned int property_id,
 /**
  * @brief Sets a double value to a record.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]  record          The record handle
  * @param[in]  property_id     The property ID
@@ -293,7 +293,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]  record          The record handle
  * @param[in]  property_id     The property ID
@@ -312,7 +312,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]  record          The record handle
  * @param[in]  property_id     The property ID
@@ -331,7 +331,7 @@ int calendar_record_set_caltime(calendar_record_h record, unsigned int property_
 /**
  * @brief Adds a child record to the parent record.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]  record          The parent record handle
  * @param[in]  property_id     The property ID
@@ -350,7 +350,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]  record        The parent record handle
  * @param[in]  property_id   The property ID
@@ -369,7 +369,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]  record          The parent record handle
  * @param[in]  property_id     The property ID
@@ -389,7 +389,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @remarks You MUST NOT release @a child_record. \n It is released when the parent record handle is destroyed.
  *
@@ -413,7 +413,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @remarks You must release @a cloned_list using calendar_list_destroy().
  *
index aaf4b35..e885f34 100644 (file)
@@ -38,7 +38,7 @@ extern "C" {
 /**
  * @brief Called when an alarm is alerted.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @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
@@ -50,7 +50,7 @@ typedef void (*calendar_reminder_cb)(const char *param, void* user_data);
 /**
  * @brief Adds a callback to get a notification when an alarm alerts.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @privlevel public
  * @privilege %http://tizen.org/privilege/calendar.read
@@ -72,7 +72,7 @@ int calendar_reminder_add_cb(calendar_reminder_cb callback, void *user_data);
 /**
  * @brief Removes a callback to get a notification when an alarm alerts.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]   callback       The callback to be removed
  * @param[in]   user_data      The user data
index a848a2f..1534f64 100644 (file)
@@ -43,7 +43,7 @@ extern "C" {
 /**
  * @brief Connects to the calendar service.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @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.
@@ -66,7 +66,7 @@ int calendar_connect(void);
 /**
  * @brief Disconnects from the calendar service.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @remarks If there is no opened connection, this function returns #CALENDAR_ERROR_DB_FAILED.
  *
@@ -84,7 +84,7 @@ int calendar_disconnect(void);
 /**
  * @brief Connects to the calendar service on a thread.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @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.
@@ -103,7 +103,7 @@ int calendar_connect_on_thread(void);
 /**
  * @brief Disconnects from the calendar service on a thread.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @remarks If there is no opened connection, this function returns #CALENDAR_ERROR_DB_FAILED.
  *
@@ -121,7 +121,7 @@ int calendar_disconnect_on_thread(void);
 /**
  * @brief Connects to the calendar service.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @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.
index e179362..a66d97f 100644 (file)
@@ -72,62 +72,62 @@ _CALENDAR_HANDLE(calendar_h)
 /**
  * @brief Definition for a calendar connect flag.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 #define CALENDAR_CONNECT_FLAG_NONE         0x00000000
 /**
  * @brief Definition for a calendar connect flag.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 #define CALENDAR_CONNECT_FLAG_RETRY        0x00000001
 
 /**
  * @brief Definition for a default event calendar book database ID.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 #define DEFAULT_EVENT_CALENDAR_BOOK_ID           1
 
 /**
  * @brief Definition for a default to-do calendar book database ID.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 #define DEFAULT_TODO_CALENDAR_BOOK_ID            2
 
 /**
  * @brief Definition for a default birthday calendar book database ID.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 #define DEFAULT_BIRTHDAY_CALENDAR_BOOK_ID        3
 
 /**
  * @brief Definition for no due date of a to-do.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 #define CALENDAR_TODO_NO_DUE_DATE   INT64_MAX
 
 /**
  * @brief Definition for no start date of a to-do.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 #define CALENDAR_TODO_NO_START_DATE (-INT64_MAX)
 
 /**
  * @brief Definition for no until of a record.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 #define CALENDAR_RECORD_NO_UNTIL    INT64_MAX
 
 /**
  * @brief Definition for no coordinate(latitude/longitude) of a record.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 #define CALENDAR_RECORD_NO_COORDINATE 1000.0
 
@@ -143,14 +143,14 @@ _CALENDAR_HANDLE(calendar_h)
 /**
  * @brief Definition for all calendar books.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 #define CALENDAR_BOOK_FILTER_ALL                    -1
 
 /**
  * @brief Enumeration for the filter match type of a string.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 typedef enum {
        CALENDAR_MATCH_EXACTLY,                 /**< Full string, case-sensitive */
@@ -165,7 +165,7 @@ typedef enum {
 /**
  * @brief Enumeration for the filter match type of an integer.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 typedef enum {
        CALENDAR_MATCH_EQUAL,                                   /**< '=' */
@@ -181,7 +181,7 @@ typedef enum {
 /**
  * @brief Enumeration for a filter operator.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 typedef enum {
        CALENDAR_FILTER_OPERATOR_AND,   /**< AND */
@@ -203,7 +203,7 @@ typedef enum {
  *
  * @details "OR"ing is supported.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 typedef enum {
        CALENDAR_BOOK_TYPE_NONE          = 0,       /**< Default calendar book type */
@@ -214,7 +214,7 @@ typedef enum {
 /**
  * @brief Enumeration for the calendar sensitivity type.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 typedef enum {
        CALENDAR_SENSITIVITY_PUBLIC          = 0,       /**< Public Sensitivity */
@@ -225,7 +225,7 @@ typedef enum {
 /**
  * @brief Enumeration for the attendee status.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 typedef enum {
        CALENDAR_ATTENDEE_STATUS_PENDING        = 0,    /**< Pending status */
@@ -241,7 +241,7 @@ typedef enum {
 /**
  * @brief Enumeration for the attendee role.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 typedef enum {
        CALENDAR_ATTENDEE_ROLE_REQ_PARTICIPANT  = 0,    /**< Participation is required */
@@ -254,7 +254,7 @@ typedef enum {
 /**
  * @brief Enumeration for the attendee cutype.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 typedef enum {
        CALENDAR_ATTENDEE_CUTYPE_INDIVIDUAL = 0,        /**< Individual cutype */
@@ -268,7 +268,7 @@ typedef enum {
 /**
  * @brief Enumeration for the alarm time unit type of an event, such as minutes, hours, days, and so on.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 typedef enum {
        CALENDAR_ALARM_NONE = -1,                  /**< No reminder set */
@@ -282,19 +282,19 @@ typedef enum {
 /**
  * @brief Enumeration for the alarm action.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 typedef enum {
        CALENDAR_ALARM_ACTION_AUDIO = 0, /**< Audio action */
        CALENDAR_ALARM_ACTION_DISPLAY,   /**< Display action */
        CALENDAR_ALARM_ACTION_EMAIL,     /**< Email action */
-       CALENDAR_ALARM_ACTION_MAX,    /**< Calenar alarm action max enum count */
+       CALENDAR_ALARM_ACTION_MAX,    /**< Calendar alarm action max enum count */
 } calendar_alarm_action_e;
 
 /**
  * @brief Enumeration for the frequency of an event's recurrence.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 typedef enum {
        CALENDAR_RECURRENCE_NONE,           /**< No recurrence event */
@@ -307,7 +307,7 @@ typedef enum {
 /**
  * @brief Enumeration for the event status.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 typedef enum {
        CALENDAR_EVENT_STATUS_NONE              = 0x01,         /**< No status */
@@ -319,7 +319,7 @@ typedef enum {
 /**
  * @brief Enumeration for the busy status of an event.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 typedef enum {
        CALENDAR_EVENT_BUSY_STATUS_FREE = 0,            /**< The free status */
@@ -330,7 +330,7 @@ typedef enum {
 /**
  * @brief Enumeration for the calendar event item's priority.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 typedef enum {
        CALENDAR_EVENT_PRIORITY_NONE            = 0x01, /**< No priority */
@@ -342,7 +342,7 @@ typedef enum {
 /**
  * @brief Enumeration for the calendar to-do item's priority.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 typedef enum {
        CALENDAR_TODO_PRIORITY_NONE                     = 0x01, /**< No priority */
@@ -354,7 +354,7 @@ typedef enum {
 /**
  * @brief Enumeration for the status of a to-do.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 typedef enum {
        CALENDAR_TODO_STATUS_NONE                       = 0x0100,       /**< No status */
@@ -367,7 +367,7 @@ typedef enum {
 /**
  * @brief Enumeration for the time type.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 typedef enum {
        CALENDAR_TIME_UTIME = 0,                        /**< Unix time */
@@ -377,7 +377,7 @@ typedef enum {
 /**
  * @brief Enumeration for the range type.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 typedef enum {
        CALENDAR_RANGE_UNTIL,           /**< Range until */
@@ -388,7 +388,7 @@ typedef enum {
 /**
  * @brief Enumeration for the system type.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 typedef enum {
        CALENDAR_SYSTEM_NONE,                              /**< Locale's default calendar */
@@ -399,7 +399,7 @@ typedef enum {
 /**
  * @brief Enumeration for the meeting status.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 typedef enum {
        CALENDAR_MEETING_STATUS_NOTMEETING = 0,   /**< No meeting */
@@ -412,7 +412,7 @@ typedef enum {
  * @brief Enumeration for weekdays.
  * @details Same value as UCalendarDaysOfWeek in ICU.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 typedef enum {
        CALENDAR_SUNDAY = 1,                    /**< Sunday */
@@ -427,7 +427,7 @@ typedef enum {
 /**
  * @brief Enumeration for the modified status of a record.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 typedef enum {
        CALENDAR_RECORD_MODIFIED_STATUS_INSERTED = 0,           /**< The record is inserted */
@@ -438,7 +438,7 @@ typedef enum {
 /**
  * @brief The structure of time.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 typedef struct {
        calendar_time_type_e type;      /**< type */
@@ -459,7 +459,7 @@ typedef struct {
 /**
  * @brief Enumeration for the type of a record.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 typedef enum {
        CALENDAR_RECORD_TYPE_NONE = 0,                   /**< No record type */
@@ -471,7 +471,7 @@ typedef enum {
 /**
  * @brief Enumeration for the book mode.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 typedef enum {
        CALENDAR_BOOK_MODE_NONE = 0, /**< All modules can read and write records of this calendar_book */
@@ -481,7 +481,7 @@ typedef enum {
 /**
  * @brief Enumeration for the sync event type.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  */
 typedef enum {
        CALENDAR_BOOK_SYNC_EVENT_FOR_ME = 0,            /**< This book would not be synced to others except me */
index e9bdf50..c7ef3a4 100644 (file)
@@ -37,7 +37,7 @@ extern "C" {
 /**
  * @brief Retrieves a vcalendar stream from a calendar list.
  *
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]  calendar_list       The calendar list handle
  * @param[out] vcalendar_stream    The vcalendar stream
@@ -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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]  vcalendar_stream    The vcalendar stream
  * @param[out] calendar_list       The calendar list handle
@@ -75,7 +75,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @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
@@ -94,7 +94,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 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
  *
  * @param[in]  vcalendar_file_path     The file path of the vCalendar stream file
  * @param[in]  callback                The callback function to be invoked
index 629e4a4..de971e2 100644 (file)
@@ -1,6 +1,6 @@
 Name:       calendar-service
 Summary:    DB library for calendar
-Version:    0.1.172
+Version:    0.1.173
 Release:    1
 Group:      System/Libraries
 License:    Apache-2.0