From 9b211c7147f20e3dbf3e3733cef01614933cc231 Mon Sep 17 00:00:00 2001 From: JinWang An Date: Thu, 20 Jul 2023 11:16:04 +0900 Subject: [PATCH] Fix version format about utils_i18n header files Change-Id: Ifa4cece4f5abaf1f2447b342f2ed118ac18a6883 Signed-off-by: JinWang An --- src/include/utils_i18n_alpha_idx.h | 52 +++---- src/include/utils_i18n_field_position.h | 20 +-- src/include/utils_i18n_format.h | 14 +- src/include/utils_i18n_formattable.h | 52 +++---- src/include/utils_i18n_measure_format.h | 14 +- src/include/utils_i18n_measure_unit.h | 260 ++++++++++++++++---------------- src/include/utils_i18n_parse_position.h | 16 +- 7 files changed, 214 insertions(+), 214 deletions(-) diff --git a/src/include/utils_i18n_alpha_idx.h b/src/include/utils_i18n_alpha_idx.h index 86e2ce3..c39e40d 100644 --- a/src/include/utils_i18n_alpha_idx.h +++ b/src/include/utils_i18n_alpha_idx.h @@ -61,7 +61,7 @@ extern "C" { * exemplar characters. The locale determines the sorting order * for both the index characters and the user item names appearing * under each Index character. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The created object should be released by the caller with the * #i18n_alpha_idx_destroy() function. * @@ -79,7 +79,7 @@ int i18n_alpha_idx_create(const char *language, const char *country, /** * @brief Destroys the alphabetic index object. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] index The alphabetic index to be destroyed * @@ -96,7 +96,7 @@ int i18n_alpha_idx_destroy(i18n_alpha_idx_h index); * they do not replace the existing index characters. The collation * order for this index is not changed; it remains that of the locale * that was originally specified when creating this Index. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] index Label will be added to this alphabetic index * @param[in] language The language of the locale @@ -117,7 +117,7 @@ int i18n_alpha_idx_add_labels(i18n_alpha_idx_h index, const char *language, * of the names in the index's locale. Records with duplicate * names are permitted; they will be kept in the order that * they were added. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] index Record will be added to this alphabetic index * @param[in] name The display name for the record. @@ -133,7 +133,7 @@ int i18n_alpha_idx_add_record(i18n_alpha_idx_h index, const char *name, /** * @brief Sets the next bucket as current bucket in the index. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] index The alphabetic index, which contains buckets * @param[out] available A flag set to @c true if the next bucket was available, @@ -151,7 +151,7 @@ int i18n_alpha_idx_get_next_bucket(i18n_alpha_idx_h index, bool *available); * @brief Sets the next record as current record in current bucket of the index. * @details When i18n_alpha_idx_get_next_bucket() is called, record iteration is reset * to just before the first record in the new bucket. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] index The alphabetic index, which contains buckets with records * @param[out] available A flag set to @c true if the next record was available, @@ -169,7 +169,7 @@ int i18n_alpha_idx_get_next_record(i18n_alpha_idx_h index, bool *available); * @brief Gets the number of records in the current bucket. * @details If the current bucket iteration position is before the first * label or after the last, return 0. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] index The alphabetic index, which contains buckets with records * @param[out] records_count Number of records in the current bucket @@ -185,7 +185,7 @@ int i18n_alpha_idx_get_bucket_record_count(i18n_alpha_idx_h index, int32_t *reco * @details If the iteration is before the first Bucket * (i18n_alpha_idx_get_next_bucket() has not been called), * or after the last, return an empty string. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The obtained @a label should be released by the caller with the free() function. * * @param[in] index The alphabetic index, which contains buckets @@ -204,7 +204,7 @@ int i18n_alpha_idx_get_bucket_label(i18n_alpha_idx_h index, char **label); * - the current iteration position is before the first item in this Bucket, * or after the last, * - the given @a index parameter is invalid. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The specific error code can be obtained using the get_last_result() method. * Error codes are described in Exceptions section. * @@ -220,7 +220,7 @@ const void *i18n_alpha_idx_get_record_data(i18n_alpha_idx_h index); * @brief Gets the default label used for abbreviated buckets between other index characters. * @details For example, consider the labels when Latin and Greek are used: * X Y Z ... &\#x0391; &\#x0392; &\#x0393; - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The obtained @a label should be released by the caller with the free() function. * * @param[in] index The alphabetic index, which contains buckets with records @@ -238,7 +238,7 @@ int i18n_alpha_idx_get_inflow_label(i18n_alpha_idx_h index, char **label); * @details An inflow label will be automatically inserted if two otherwise-adjacent label characters * are from different scripts, e.g. Latin and Cyrillic, and a third script, * e.g. Greek, sorts between the two. The default inflow character is an ellipsis (...) - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] index The alphabetic index, which contains buckets with records * @param[in] label The new inflow label @@ -252,7 +252,7 @@ int i18n_alpha_idx_set_inflow_label(i18n_alpha_idx_h index, const char *label); /** * @brief Gets the special label used for items that sort after the last normal label, * and that would not otherwise have an appropriate label. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The obtained @a label should be released by the caller with the free() function. * * @param[in] index The alphabetic index, which contains buckets with records @@ -268,7 +268,7 @@ int i18n_alpha_idx_get_overflow_label(i18n_alpha_idx_h index, char **label); /** * @brief Sets the special label used for items that sort after the last normal label, * and that would not otherwise have an appropriate label. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] index The alphabetic index, which contains buckets with records * @param[in] label The new overflow label @@ -282,7 +282,7 @@ int i18n_alpha_idx_set_overflow_label(i18n_alpha_idx_h index, const char *label) /** * @brief Gets the special label used for items that sort before the first normal label, * and that would not otherwise have an appropriate label. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The obtained @a label should be released by the caller with the free() function. * * @param[in] index The alphabetic index, which contains buckets with records @@ -298,7 +298,7 @@ int i18n_alpha_idx_get_underflow_label(i18n_alpha_idx_h index, char **label); /** * @brief Sets the special label used for items that sort before the first normal label, * and that would not otherwise have an appropriate label. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] index The alphabetic index, which contains buckets with records * @param[in] label The new underflow label @@ -312,7 +312,7 @@ int i18n_alpha_idx_set_underflow_label(i18n_alpha_idx_h index, const char *label /** * @brief Gets the limit on the number of labels permitted in the index. * @details The number does not include over, under and inflow labels. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] index The alphabetic index, which contains buckets with records * @param[out] max_label_count The maximum number of labels @@ -329,7 +329,7 @@ int i18n_alpha_idx_get_max_label_count(i18n_alpha_idx_h index, int32_t *max_labe * Currently, if the number is exceeded, then every nth item * is removed to bring the count down. A more sophisticated * mechanism may be available in the future. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] index The alphabetic index, which contains buckets with records * @param[in] max_label_count The new maximum number of labels @@ -344,7 +344,7 @@ int i18n_alpha_idx_set_max_label_count(i18n_alpha_idx_h index, int32_t max_label * @brief Remove all records from the index. * @details The set of Buckets, which define the headings under which records are classified, * is not altered. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] index The alphabetic index, which contains buckets with records * @@ -356,7 +356,7 @@ int i18n_alpha_idx_clear_records(i18n_alpha_idx_h index); /** * @brief Gets the number of labels in this index. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks Note: may trigger lazy index construction. * * @param[in] index The alphabetic index, which contains buckets with records @@ -372,7 +372,7 @@ int i18n_alpha_idx_get_bucket_count(i18n_alpha_idx_h index, int32_t *bucket_coun /** * @brief Gets the total number of records in this index, that is, the number of * pairs added. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] index The alphabetic index, which contains buckets with records * @param[out] record_count The number of records in this index, that is, @@ -391,7 +391,7 @@ int i18n_alpha_idx_get_record_count(i18n_alpha_idx_h index, int32_t *record_coun * @details The name need not be in the index. * A Record will not be added to the index by this function. * Bucket numbers are zero-based, in Bucket iteration order. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] index The alphabetic index, which contains buckets with records * @param[in] item_name The name whose bucket position in the index is to be determined @@ -407,7 +407,7 @@ int i18n_alpha_idx_get_bucket_index(i18n_alpha_idx_h index, const char *item_nam * @brief Gets the zero based index of the current bucket of this index. * @details Sets the variable pointed by the @a bucket_index to -1 if no iteration * is in process. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] index The alphabetic index, which contains buckets with records * @param[out] bucket_index The index of the current Bucket @@ -421,7 +421,7 @@ int i18n_alpha_idx_get_current_bucket_index(i18n_alpha_idx_h index, int32_t *buc /** * @brief Gets the type of the label for the current Bucket * (selected by the iteration over Buckets). - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] index The alphabetic index, which contains buckets with records * @param[out] type The alphabetic index label type @@ -438,7 +438,7 @@ int i18n_alpha_idx_get_bucket_label_type(i18n_alpha_idx_h index, * @details If the Record iteration position is before the first or after the last record, * sets the string pointed by the @a record_name parameter to NULL and returns * the #I18N_ERROR_INDEX_OUTOFBOUNDS error code. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The obtained @a record_name should be released by the caller with the free() function. * * @param[in] index The alphabetic index, which contains buckets with records @@ -455,7 +455,7 @@ int i18n_alpha_idx_get_record_name(i18n_alpha_idx_h index, char **record_name); /** * @brief Resets the bucket iteration for this index. * @details The next call to i18n_alpha_idx_get_next_bucket() will restart the iteration at the first label. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] index The alphabetic index, which contains buckets with records * @@ -468,7 +468,7 @@ int i18n_alpha_idx_reset_bucket_iter(i18n_alpha_idx_h index); /** * @brief Resets the record iteration for this index to before the first Record in the current Bucket. * @details The next call to i18n_alpha_idx_get_next_record() will restart the iteration at the first label. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] index The alphabetic index, which contains buckets with records * diff --git a/src/include/utils_i18n_field_position.h b/src/include/utils_i18n_field_position.h index 630c0be..bfa5e63 100644 --- a/src/include/utils_i18n_field_position.h +++ b/src/include/utils_i18n_field_position.h @@ -53,7 +53,7 @@ extern "C" { /** * @brief Creates a field position object with a non-specified field. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The created object should be released by the caller with the * i18n_field_position_destroy() function. * @@ -70,7 +70,7 @@ int i18n_field_position_create(i18n_field_position_h *field_position); * @brief Creates a field position object for the given field. * @details The only fields currently supported are the fields accepted by the date formatter, * see #i18n_udate_format_field_e. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The created object should be released by the caller with the * i18n_field_position_destroy() function. * @@ -86,7 +86,7 @@ int i18n_field_position_create_for_field(int32_t field, i18n_field_position_h *f /** * @brief Destroys the field position object. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] field_position The field position object to destroy * @@ -98,7 +98,7 @@ int i18n_field_position_destroy(i18n_field_position_h field_position); /** * @brief Creates a clone of the given @a field_position object. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The @a clone object should be released by the caller with the * i18n_field_position_destroy() function. * @@ -114,7 +114,7 @@ int i18n_field_position_clone(i18n_field_position_h field_position, i18n_field_p /** * @brief Retrieves the field identifier. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] field_position The field_position object * @param[out] field The field identifier @@ -127,7 +127,7 @@ int i18n_field_position_get_field(i18n_field_position_h field_position, int32_t /** * @brief Retrieves the index of the first character in the requested field. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] field_position The field position object * @param[out] begin_index The index of the first character in the requested field @@ -140,7 +140,7 @@ int i18n_field_position_get_begin_index(i18n_field_position_h field_position, in /** * @brief Retrieves the index of the character following the last character in the requested field. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] field_position The field position object * @param[out] end_index The index of the character following the last character @@ -154,7 +154,7 @@ int i18n_field_position_get_end_index(i18n_field_position_h field_position, int3 /** * @brief Sets the field. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] field_position The field_position object * @param[in] field The new value of the field @@ -167,7 +167,7 @@ int i18n_field_position_set_field(i18n_field_position_h field_position, int32_t /** * @brief Sets the begin index. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] field_position The field_position object * @param[in] begin_index The new value of the begin index @@ -180,7 +180,7 @@ int i18n_field_position_set_begin_index(i18n_field_position_h field_position, in /** * @brief Sets the end index. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] field_position The field_position object * @param[in] end_index The new value of the end index diff --git a/src/include/utils_i18n_format.h b/src/include/utils_i18n_format.h index 8a7bad9..ce36cea 100644 --- a/src/include/utils_i18n_format.h +++ b/src/include/utils_i18n_format.h @@ -54,7 +54,7 @@ extern "C" { /** * @brief Destroys the format object. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] format The format object to destroy * @@ -66,7 +66,7 @@ int i18n_format_destroy(i18n_format_h format); /** * @brief Creates a polymorphic clone of the given @a format object. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The cloned object should be released by the caller with the * i18n_format_destroy() function. * @@ -82,7 +82,7 @@ int i18n_format_clone(i18n_format_h format, i18n_format_h *clone); /** * @brief Formats an object to produce a string. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The @a append_to parameter should be released by the caller with the * free() function. * @@ -100,7 +100,7 @@ int i18n_format_format(i18n_format_h format, i18n_formattable_h formattable, cha /** * @brief Formats an object to produce a string. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The @a append_to parameter should be released by the caller with the * free() function. * @@ -120,7 +120,7 @@ int i18n_format_format_with_field_position(i18n_format_h format, i18n_formattabl /** * @brief Parses a string to produce an object. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The obtained @a result formattable object should be released by the caller with the * i18n_formattable_destroy() function. * @@ -137,7 +137,7 @@ int i18n_format_parse_object(i18n_format_h format, const char *source, i18n_form /** * @brief Parses a string to produce an object. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The obtained @a result formattable object should be released by the caller with the * i18n_formattable_destroy() function. * @@ -159,7 +159,7 @@ int i18n_format_parse_object_with_parse_position(i18n_format_h format, const cha * @deprecated Deprecated since 5.0. Use i18n_format_get_locale_id() instead. * @brief Gets the locale for the given format object. * @details You can choose between valid and actual locale. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks Both @a language and @a country should be released by the caller with the free() function. * * @param[in] format The format object diff --git a/src/include/utils_i18n_formattable.h b/src/include/utils_i18n_formattable.h index 98ab712..db05a96 100644 --- a/src/include/utils_i18n_formattable.h +++ b/src/include/utils_i18n_formattable.h @@ -51,7 +51,7 @@ extern "C" { /** * @brief Creates a new default #i18n_formattable_h. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The created object should be released by the caller with the * #i18n_formattable_destroy() function. * @@ -67,7 +67,7 @@ int i18n_formattable_create_default(i18n_formattable_h *formattable); /** * @brief Creates a new #i18n_formattable_h handle with an #i18n_udate instance. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The created object should be released by the caller with the * #i18n_formattable_destroy() function. * @@ -84,7 +84,7 @@ int i18n_formattable_create_with_udate(i18n_udate date, i18n_formattable_h *form /** * @brief Creates a new #i18n_formattable_h handle with a double value. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The created object should be released by the caller with the * #i18n_formattable_destroy() function. * @@ -101,7 +101,7 @@ int i18n_formattable_create_with_double(double value, i18n_formattable_h *format /** * @brief Creates a new #i18n_formattable_h handle with a long value. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The created object should be released by the caller with the * #i18n_formattable_destroy() function. * @@ -118,7 +118,7 @@ int i18n_formattable_create_with_long(int32_t value, i18n_formattable_h *formatt /** * @brief Creates a new #i18n_formattable_h handle with an int64_t value. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The created object should be released by the caller with the * #i18n_formattable_destroy() function. * @@ -136,7 +136,7 @@ int i18n_formattable_create_with_int64(int64_t value, i18n_formattable_h *format /** * @brief Creates a new #i18n_formattable_h handle with a char string pointer. * @details Assumes that the char string is null terminated. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The created object should be released by the caller with the * #i18n_formattable_destroy() function. * @@ -154,7 +154,7 @@ int i18n_formattable_create_with_char_string(const char *str_to_copy, i18n_forma /** * @brief Creates a new #i18n_formattable_h handle with an array of * #i18n_formattable_h handles. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The created object should be released by the caller with the * #i18n_formattable_destroy() function. * @@ -172,7 +172,7 @@ int i18n_formattable_create_with_formattable_array(const i18n_formattable_h *arr /** * @brief Releases the given #i18n_formattable_h handle. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] formattable A handle to the formattable object to be released * @@ -185,7 +185,7 @@ int i18n_formattable_destroy(i18n_formattable_h formattable); /** * @brief Clones the given formattable handle with the related object to the * @a clone handle. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @details Clones can be used concurrently in multiple threads. * @remarks The cloned object should be released by the caller with the * #i18n_formattable_destroy() function. @@ -203,7 +203,7 @@ int i18n_formattable_clone(i18n_formattable_h formattable, i18n_formattable_h *c /** * @brief Gets the array value and count of the given formattable object. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks If this object is not of type #I18N_FORMATTABLE_TYPE_ARRAY then the * result is undefined. The obtained array should be released by the * caller with the free() function. @@ -222,7 +222,7 @@ int i18n_formattable_get_array(i18n_formattable_h formattable, i18n_formattable_ /** * @brief Gets the date value of the given formattable object. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks If this object is not of type #I18N_FORMATTABLE_TYPE_DATE then the * result is undefined. * @@ -238,7 +238,7 @@ int i18n_formattable_get_date(i18n_formattable_h formattable, i18n_udate *date); /** * @brief Gets the double value of the given formattable object. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks If this object is not of type #I18N_FORMATTABLE_TYPE_DOUBLE then the * result is undefined. * @@ -254,7 +254,7 @@ int i18n_formattable_get_double(i18n_formattable_h formattable, double *value); /** * @brief Gets the int64 value of the given formattable object. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks If this object is not of type #I18N_FORMATTABLE_TYPE_INT64 then the * result is undefined. * @@ -274,7 +274,7 @@ int i18n_formattable_get_int64(i18n_formattable_h formattable, int64_t *value); * minimum long value, as appropriate, is set to @a value * and the #I18N_ERROR_INVALID_FORMAT error code is returned by the * function. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] formattable A handle to the formattable object * @param[out] value A pointer to a int32_t variable which will be filled @@ -288,7 +288,7 @@ int i18n_formattable_get_long(i18n_formattable_h formattable, int32_t *value); /** * @brief Gets the string value of the given formattable object. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks If the type is not a string, the function returns the * #I18N_ERROR_INVALID_FORMAT error code and the value is set to @c * NULL. The @a value should be released by the caller with the free() function. @@ -308,7 +308,7 @@ int i18n_formattable_get_string(i18n_formattable_h formattable, char **value); /** * @brief Gets the data type of the given formattable object. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] formattable A handle to the formattable object * @param[out] type A pointer to an #i18n_formattable_type_e variable which @@ -325,7 +325,7 @@ int i18n_formattable_get_type(i18n_formattable_h formattable, i18n_formattable_t * @brief Sets the variable pointed by the @a is_numeric pointer to @c true if * the data type of the given formattable object is #I18N_FORMATTABLE_TYPE_DOUBLE, * #I18N_FORMATTABLE_TYPE_LONG or #I18N_FORMATTABLE_TYPE_INT64. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] formattable A handle to the formattable object * @param[out] is_numeric A pointer to a boolean variable which will be filled by @@ -341,7 +341,7 @@ int i18n_formattable_is_numeric(i18n_formattable_h formattable, bool *is_numeric * @brief Sets the variable pointed by the @a not_equal pointer to @c true if * the given @a formattable object is not equal to the given @a other * formattable object. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] formattable A handle to the formattable object * @param[in] other A handle to the other formattable object @@ -358,7 +358,7 @@ int i18n_formattable_not_equal(i18n_formattable_h formattable, i18n_formattable_ * @brief Sets the variable pointed by the @a equal pointer to @c true if the * given @a formattable object is equal to the given @a other * formattable object. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] formattable A handle to the formattable object * @param[in] other A handle to the other formattable object @@ -375,7 +375,7 @@ int i18n_formattable_equal(i18n_formattable_h formattable, i18n_formattable_h ot * @brief Sets the object pointed by the @a element pointer to the element at * the @a index position in the array stored by the given formattable * object (if its type is #I18N_FORMATTABLE_TYPE_ARRAY). - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks If this object is not of type #I18N_FORMATTABLE_TYPE_ARRAY then the * result is undefined. * @@ -399,7 +399,7 @@ int i18n_formattable_element_at(i18n_formattable_h formattable, int32_t index, i /** * @brief Sets the array value and count of the given formattable object and * changes the type to #I18N_FORMATTABLE_TYPE_ARRAY. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] formattable A handle to the formattable object * @param[in] array An array of handles to the formattable objects @@ -414,7 +414,7 @@ int i18n_formattable_set_array(i18n_formattable_h formattable, const i18n_format /** * @brief Sets the date value of the given formattable object and changes the * type to the #I18N_FORMATTABLE_TYPE_DATE. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] formattable A handle to the formattable object * @param[in] date The new i18n_udate value to be set @@ -428,7 +428,7 @@ int i18n_formattable_set_date(i18n_formattable_h formattable, i18n_udate date); /** * @brief Sets the double value of the given formattable object and changes * the type to the #I18N_FORMATTABLE_TYPE_DOUBLE. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] formattable A handle to the formattable object * @param[in] value The new double value to be set @@ -442,7 +442,7 @@ int i18n_formattable_set_double(i18n_formattable_h formattable, double value); /** * @brief Sets the int64 value of the given formattable object and changes the * type to the #I18N_FORMATTABLE_TYPE_INT64. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] formattable A handle to the formattable object * @param[in] value The new int64_t value to be set @@ -456,7 +456,7 @@ int i18n_formattable_set_int64(i18n_formattable_h formattable, int64_t value); /** * @brief Sets the long value of the given formattable object and changes the * type to the #I18N_FORMATTABLE_TYPE_LONG. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] formattable A handle to the formattable object * @param[in] value The new int32_t value to be set @@ -470,7 +470,7 @@ int i18n_formattable_set_long(i18n_formattable_h formattable, int32_t value); /** * @brief Sets the string value of the given formattable object and changes * the type to the #I18N_FORMATTABLE_TYPE_STRING. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] formattable A handle to the formattable object * @param[in] string_to_copy The new string value to be set diff --git a/src/include/utils_i18n_measure_format.h b/src/include/utils_i18n_measure_format.h index 12605cb..227da0c 100644 --- a/src/include/utils_i18n_measure_format.h +++ b/src/include/utils_i18n_measure_format.h @@ -46,7 +46,7 @@ extern "C" { /** * @deprecated Deprecated since 5.0. Use i18n_measure_format_create_from_locale_id() instead. * @brief Creates the measure format object using given locale. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The created object should be released by the caller with the * i18n_measure_format_destroy() function. * @@ -67,7 +67,7 @@ int i18n_measure_format_create(const char *language, /** * @brief Destroys the measure format object. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] measure_format The measure format object to destroy * @@ -79,7 +79,7 @@ int i18n_measure_format_destroy(i18n_measure_format_h measure_format); /** * @brief Creates a polymorphic clone of the given @a measure_format object. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The @a clone object should be released by the caller with the * i18n_measure_format_destroy() function. * @@ -95,7 +95,7 @@ int i18n_measure_format_clone(i18n_measure_format_h measure_format, i18n_format_ /** * @brief Formats an object to produce a string. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The obtained @a append_to string is actually a concatenation of the given input string and * the result of the function (appended to the string). Actually, the @a append_to * buffer is being reallocated inside the function which means that the buffer is not @@ -121,7 +121,7 @@ int i18n_measure_format_format(i18n_measure_format_h measure_format, /** * @brief Parses a string to produce an object. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The obtained @a result object should be released by the caller * with the i18n_formattable_destroy() function. * @@ -148,7 +148,7 @@ int i18n_measure_format_parse_object(i18n_measure_format_h measure_format, /** * @deprecated Deprecated since 5.0. Use i18n_measure_format_create_currency_format_from_locale_id() instead. * @brief Gets a formatter for currency amount objects in the given locale. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The created object should be released by the caller with the * i18n_measure_format_destroy() function. * @@ -167,7 +167,7 @@ int i18n_measure_format_create_currency_format_from_locale(const char *language, /** * @brief Gets a formatter for currency amount objects in the default locale. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The created object should be released by the caller with the * i18n_measure_format_destroy() function. * diff --git a/src/include/utils_i18n_measure_unit.h b/src/include/utils_i18n_measure_unit.h index 19a46dc..a655ad6 100644 --- a/src/include/utils_i18n_measure_unit.h +++ b/src/include/utils_i18n_measure_unit.h @@ -45,7 +45,7 @@ extern "C" { /** * @brief Creates the default measure unit object. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The created object should be released by the caller with the * #i18n_measure_unit_destroy() function. * @@ -60,7 +60,7 @@ int i18n_measure_unit_create(i18n_measure_unit_h *measure_unit); /** * @brief Creates a polymorphic clone of the given @a clone object. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The created object should be released by the caller with the * #i18n_measure_unit_destroy() function. * @@ -76,7 +76,7 @@ int i18n_measure_unit_clone(i18n_measure_unit_h measure_unit, i18n_measure_unit_ /** * @brief Destroys the measure unit object - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] measure_unit The measure unit object to destroy * @@ -88,7 +88,7 @@ int i18n_measure_unit_destroy(i18n_measure_unit_h measure_unit); /** * @brief Destroys the given array of the measure unit objects - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] array The array of measure unit objects to destroy * @param[in] array_size The capacity of the @a dest_array @@ -101,7 +101,7 @@ int i18n_measure_unit_array_destroy(i18n_measure_unit_h *array, int32_t array_si /** * @brief Gets the measure unit object type. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The obtained type should be released by the caller with the free() function. * * @param[in] measure_unit The measure unit object @@ -116,7 +116,7 @@ int i18n_measure_unit_get_type(i18n_measure_unit_h measure_unit, char **type); /** * @brief Gets the measure unit object sub type. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The obtained subtype should be released by the caller with the free() function. * * @param[in] measure_unit The measure unit object @@ -136,7 +136,7 @@ int i18n_measure_unit_get_subtype(i18n_measure_unit_h measure_unit, char **subty * then the returned array is truncated to the first @a max_count units * and the returned error code is #I18N_ERROR_BUFFER_OVERFLOW. * - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The obtained array of measure unit objects should be released by the caller * with the #i18n_measure_unit_array_destroy() function. * @@ -159,7 +159,7 @@ int i18n_measure_unit_get_available(int32_t max_count, i18n_measure_unit_h **out * then the returned array is truncated to the first @a max_count units * and the returned error code is #I18N_ERROR_BUFFER_OVERFLOW. * - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The obtained array of measure unit objects should be released by the caller * with the #i18n_measure_unit_array_destroy() function. * @@ -179,7 +179,7 @@ int i18n_measure_unit_get_available_with_type(int32_t max_count, const char *typ /** * @brief Invokes the given callback function for every available measure unit type. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] cb The callback function invoked for every available measure unit type * @param[in] user_data The user data passed to the callback function @@ -192,7 +192,7 @@ int i18n_measure_unit_foreach_available_type(i18n_measure_unit_types_cb cb, void /** * @brief Gets unit of acceleration: g-force. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -207,7 +207,7 @@ int i18n_measure_unit_create_g_force(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of acceleration: meter-per-second-squared. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -222,7 +222,7 @@ int i18n_measure_unit_create_meter_per_second_squared(i18n_measure_unit_h *measu /** * @brief Gets unit of angle: arc-minute. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -237,7 +237,7 @@ int i18n_measure_unit_create_arc_minute(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of angle: arc-second. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -252,7 +252,7 @@ int i18n_measure_unit_create_arc_second(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of angle: degree. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -267,7 +267,7 @@ int i18n_measure_unit_create_degree(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of angle: radian. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -282,7 +282,7 @@ int i18n_measure_unit_create_radian(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of area: acre. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -297,7 +297,7 @@ int i18n_measure_unit_create_acre(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of area: hectare. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -312,7 +312,7 @@ int i18n_measure_unit_create_hectare(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit area: square-centimeter. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -327,7 +327,7 @@ int i18n_measure_unit_create_square_centimeter(i18n_measure_unit_h *measure_unit /** * @brief Gets unit area: square-foot. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -342,7 +342,7 @@ int i18n_measure_unit_create_square_foot(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit area: square-inch. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -357,7 +357,7 @@ int i18n_measure_unit_create_square_inch(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit area: square-kilometer. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -372,7 +372,7 @@ int i18n_measure_unit_create_square_kilometer(i18n_measure_unit_h *measure_unit) /** * @brief Gets unit area: square-meter. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -387,7 +387,7 @@ int i18n_measure_unit_create_square_meter(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit area: square-mile. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -402,7 +402,7 @@ int i18n_measure_unit_create_square_mile(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit area: square-yard. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -417,7 +417,7 @@ int i18n_measure_unit_create_square_yard(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of consumption: liter-per-kilometer. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -432,7 +432,7 @@ int i18n_measure_unit_create_liter_per_kilometer(i18n_measure_unit_h *measure_un /** * @brief Gets unit of consumption: mile-per-gallon. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -447,7 +447,7 @@ int i18n_measure_unit_create_mile_per_gallon(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of digital: bit. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -462,7 +462,7 @@ int i18n_measure_unit_create_bit(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of digital: byte. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -477,7 +477,7 @@ int i18n_measure_unit_create_byte(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of digital: gigabit. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -492,7 +492,7 @@ int i18n_measure_unit_create_gigabit(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of digital: gigabyte. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -507,7 +507,7 @@ int i18n_measure_unit_create_gigabyte(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of digital: kilobit. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -522,7 +522,7 @@ int i18n_measure_unit_create_kilobit(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of digital: kilobyte. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -537,7 +537,7 @@ int i18n_measure_unit_create_kilobyte(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of digital: megabit. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -552,7 +552,7 @@ int i18n_measure_unit_create_megabit(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of digital: megabyte. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -567,7 +567,7 @@ int i18n_measure_unit_create_megabyte(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of digital: terabit. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -582,7 +582,7 @@ int i18n_measure_unit_create_terabit(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of digital: terabyte. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -597,7 +597,7 @@ int i18n_measure_unit_create_terabyte(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of duration: day. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -612,7 +612,7 @@ int i18n_measure_unit_create_day(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of duration: hour. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -627,7 +627,7 @@ int i18n_measure_unit_create_hour(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of duration: microsecond. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -642,7 +642,7 @@ int i18n_measure_unit_create_microsecond(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of duration: millisecond. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -657,7 +657,7 @@ int i18n_measure_unit_create_millisecond(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of duration: minute. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -672,7 +672,7 @@ int i18n_measure_unit_create_minute(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of duration: month. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -687,7 +687,7 @@ int i18n_measure_unit_create_month(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of duration: nanosecond. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -702,7 +702,7 @@ int i18n_measure_unit_create_nanosecond(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of duration: second. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -717,7 +717,7 @@ int i18n_measure_unit_create_second(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of duration: week. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -732,7 +732,7 @@ int i18n_measure_unit_create_week(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of duration: year. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -747,7 +747,7 @@ int i18n_measure_unit_create_year(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of electric: ampere. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -762,7 +762,7 @@ int i18n_measure_unit_create_ampere(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of electric: milliampere. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -777,7 +777,7 @@ int i18n_measure_unit_create_milliampere(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of electric: ohm. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -792,7 +792,7 @@ int i18n_measure_unit_create_ohm(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of electric: volt. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -807,7 +807,7 @@ int i18n_measure_unit_create_volt(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of energy: calorie. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -822,7 +822,7 @@ int i18n_measure_unit_create_calorie(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of energy: foodcalorie. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -837,7 +837,7 @@ int i18n_measure_unit_create_foodcalorie(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of energy: joule. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -852,7 +852,7 @@ int i18n_measure_unit_create_joule(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of energy: kilocalorie. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -867,7 +867,7 @@ int i18n_measure_unit_create_kilocalorie(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of energy: kilojoule. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -882,7 +882,7 @@ int i18n_measure_unit_create_kilojoule(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of energy: kilowatt-hour. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -897,7 +897,7 @@ int i18n_measure_unit_create_kilowatt_hour(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of frequency: gigahertz. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -912,7 +912,7 @@ int i18n_measure_unit_create_gigahertz(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of frequency: hertz. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -927,7 +927,7 @@ int i18n_measure_unit_create_hertz(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of frequency: kilohertz. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -942,7 +942,7 @@ int i18n_measure_unit_create_kilohertz(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of frequency: megahertz. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -957,7 +957,7 @@ int i18n_measure_unit_create_megahertz(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of length: astronomical-unit. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -972,7 +972,7 @@ int i18n_measure_unit_create_astronomical_unit(i18n_measure_unit_h *measure_unit /** * @brief Gets unit of length: centimeter. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -987,7 +987,7 @@ int i18n_measure_unit_create_centimeter(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of length: decimeter. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1002,7 +1002,7 @@ int i18n_measure_unit_create_decimeter(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of length: fathom. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1017,7 +1017,7 @@ int i18n_measure_unit_create_fathom(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of length: foot. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1032,7 +1032,7 @@ int i18n_measure_unit_create_foot(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of length: furlong. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1047,7 +1047,7 @@ int i18n_measure_unit_create_furlong(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of length: inch. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1062,7 +1062,7 @@ int i18n_measure_unit_create_inch(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of length: kilometer. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1077,7 +1077,7 @@ int i18n_measure_unit_create_kilometer(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of length: light-year. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1092,7 +1092,7 @@ int i18n_measure_unit_create_light_year(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of length: meter. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1107,7 +1107,7 @@ int i18n_measure_unit_create_meter(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of length: micrometer. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1122,7 +1122,7 @@ int i18n_measure_unit_create_micrometer(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of length: mile. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1137,7 +1137,7 @@ int i18n_measure_unit_create_mile(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of length: millimeter. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1152,7 +1152,7 @@ int i18n_measure_unit_create_millimeter(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of length: nanometer. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1167,7 +1167,7 @@ int i18n_measure_unit_create_nanometer(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of length: nautical-mile. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1182,7 +1182,7 @@ int i18n_measure_unit_create_nautical_mile(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of length: parsec. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1197,7 +1197,7 @@ int i18n_measure_unit_create_parsec(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of length: picometer. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1212,7 +1212,7 @@ int i18n_measure_unit_create_picometer(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of length: yard. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1227,7 +1227,7 @@ int i18n_measure_unit_create_yard(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of illuminance: lux. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1242,7 +1242,7 @@ int i18n_measure_unit_create_lux(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of mass: carat. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1257,7 +1257,7 @@ int i18n_measure_unit_create_carat(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of mass: gram. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1272,7 +1272,7 @@ int i18n_measure_unit_create_gram(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of mass: kilogram. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1287,7 +1287,7 @@ int i18n_measure_unit_create_kilogram(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of mass: metric-ton. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1302,7 +1302,7 @@ int i18n_measure_unit_create_metric_ton(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of mass: microgram. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1317,7 +1317,7 @@ int i18n_measure_unit_create_microgram(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of mass: milligram. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1332,7 +1332,7 @@ int i18n_measure_unit_create_milligram(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of mass: ounce. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1347,7 +1347,7 @@ int i18n_measure_unit_create_ounce(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of mass: ounce-troy. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1362,7 +1362,7 @@ int i18n_measure_unit_create_ounce_troy(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of mass: pound. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1377,7 +1377,7 @@ int i18n_measure_unit_create_pound(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of mass: stone. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1392,7 +1392,7 @@ int i18n_measure_unit_create_stone(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of mass: ton. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1407,7 +1407,7 @@ int i18n_measure_unit_create_ton(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of power: gigawatt. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1422,7 +1422,7 @@ int i18n_measure_unit_create_gigawatt(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of power: horsepower. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1437,7 +1437,7 @@ int i18n_measure_unit_create_horsepower(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of power: kilowatt. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1452,7 +1452,7 @@ int i18n_measure_unit_create_kilowatt(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of power: megawatt. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1467,7 +1467,7 @@ int i18n_measure_unit_create_megawatt(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of power: milliwatt. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1482,7 +1482,7 @@ int i18n_measure_unit_create_milliwatt(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of power: watt. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1497,7 +1497,7 @@ int i18n_measure_unit_create_watt(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of pressure: hectopascal. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1512,7 +1512,7 @@ int i18n_measure_unit_create_hectopascal(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of pressure: inch-hg. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1527,7 +1527,7 @@ int i18n_measure_unit_create_inch_hg(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of pressure: millibar. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1542,7 +1542,7 @@ int i18n_measure_unit_create_millibar(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of pressure: millimeter-of-mercury. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1557,7 +1557,7 @@ int i18n_measure_unit_create_millimeter_of_mercury(i18n_measure_unit_h *measure_ /** * @brief Gets unit of pressure: pound-per-square-inch. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1572,7 +1572,7 @@ int i18n_measure_unit_create_pound_per_square_inch(i18n_measure_unit_h *measure_ /** * @brief Gets unit of proportion: karat. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1587,7 +1587,7 @@ int i18n_measure_unit_create_karat(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of speed: kilometer-per-hour. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1602,7 +1602,7 @@ int i18n_measure_unit_create_kilometer_per_hour(i18n_measure_unit_h *measure_uni /** * @brief Gets unit of speed: meter-per-second. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1617,7 +1617,7 @@ int i18n_measure_unit_create_meter_per_second(i18n_measure_unit_h *measure_unit) /** * @brief Gets unit of speed: mile-per-hour. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1632,7 +1632,7 @@ int i18n_measure_unit_create_mile_per_hour(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of temperature: celsius. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1647,7 +1647,7 @@ int i18n_measure_unit_create_celsius(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of temperature: fahrenheit. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1662,7 +1662,7 @@ int i18n_measure_unit_create_fahrenheit(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of temperature: kelvin. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1677,7 +1677,7 @@ int i18n_measure_unit_create_kelvin(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of volume: acre-foot. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1692,7 +1692,7 @@ int i18n_measure_unit_create_acre_foot(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of volume: bushel. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1707,7 +1707,7 @@ int i18n_measure_unit_create_bushel(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of volume: centiliter. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1722,7 +1722,7 @@ int i18n_measure_unit_create_centiliter(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of volume: cubic-centimeter. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1737,7 +1737,7 @@ int i18n_measure_unit_create_cubic_centimeter(i18n_measure_unit_h *measure_unit) /** * @brief Gets unit of volume: cubic-foot. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1752,7 +1752,7 @@ int i18n_measure_unit_create_cubic_foot(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of volume: cubic-inch. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1767,7 +1767,7 @@ int i18n_measure_unit_create_cubic_inch(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of volume: cubic-kilometer. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1782,7 +1782,7 @@ int i18n_measure_unit_create_cubic_kilometer(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of volume: cubic-meter. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1797,7 +1797,7 @@ int i18n_measure_unit_create_cubic_meter(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of volume: cubic-mile. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1812,7 +1812,7 @@ int i18n_measure_unit_create_cubic_mile(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of volume: cubic-yard. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1827,7 +1827,7 @@ int i18n_measure_unit_create_cubic_yard(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of volume: cup. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1842,7 +1842,7 @@ int i18n_measure_unit_create_cup(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of volume: deciliter. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1857,7 +1857,7 @@ int i18n_measure_unit_create_deciliter(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of volume: fluid-ounce. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1872,7 +1872,7 @@ int i18n_measure_unit_create_fluid_ounce(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of volume: gallon. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1887,7 +1887,7 @@ int i18n_measure_unit_create_gallon(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of volume: hectoliter. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1902,7 +1902,7 @@ int i18n_measure_unit_create_hectoliter(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of volume: liter. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1917,7 +1917,7 @@ int i18n_measure_unit_create_liter(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of volume: megaliter. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1932,7 +1932,7 @@ int i18n_measure_unit_create_megaliter(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of volume: milliliter. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1947,7 +1947,7 @@ int i18n_measure_unit_create_milliliter(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of volume: pint. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1962,7 +1962,7 @@ int i18n_measure_unit_create_pint(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of volume: quart. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1977,7 +1977,7 @@ int i18n_measure_unit_create_quart(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of volume: tablespoon. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * @@ -1992,7 +1992,7 @@ int i18n_measure_unit_create_tablespoon(i18n_measure_unit_h *measure_unit); /** * @brief Gets unit of volume: teaspoon. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The returned @a measure_unit should be freed by the caller * with i18n_measure_unit_destroy(). * diff --git a/src/include/utils_i18n_parse_position.h b/src/include/utils_i18n_parse_position.h index e451911..50d0fce 100644 --- a/src/include/utils_i18n_parse_position.h +++ b/src/include/utils_i18n_parse_position.h @@ -50,7 +50,7 @@ extern "C" { /** * @brief Creates a parse position object. * @details The index is set to position 0. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The created object should be released by the caller with the * i18n_parse_position_destroy() function. * @@ -65,7 +65,7 @@ int i18n_parse_position_create(i18n_parse_position_h *parse_position); /** * @brief Creates a parse position object with the given initial index. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The created object should be released by the caller with the * i18n_parse_position_destroy() function. * @@ -81,7 +81,7 @@ int i18n_parse_position_create_with_index(int32_t new_index, i18n_parse_position /** * @brief Destroys the parse position object. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] parse_position The parse position object to destroy * @@ -93,7 +93,7 @@ int i18n_parse_position_destroy(i18n_parse_position_h parse_position); /** * @brief Creates a clone of the given @a parse_position object. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * @remarks The @a clone object should be released by the caller with the * i18n_parse_position_destroy() function. * @@ -112,7 +112,7 @@ int i18n_parse_position_clone(i18n_parse_position_h parse_position, i18n_parse_p * @details On input to a parse function, this is the index of the character * at which parsing will begin; on output, it is the index of the character * following the last character parsed. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] parse_position The parse position object * @param[out] index The current index @@ -125,7 +125,7 @@ int i18n_parse_position_get_index(i18n_parse_position_h parse_position, int32_t /** * @brief Sets the current parse position. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] parse_position The parse position object * @param[in] index The new index @@ -141,7 +141,7 @@ int i18n_parse_position_set_index(i18n_parse_position_h parse_position, int32_t * @details Formatters should set this before returning an error code * from their parse_object() function. The default value is -1 * if this is not set. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] parse_position The parse position object * @param[in] error_index The error index @@ -155,7 +155,7 @@ int i18n_parse_position_set_error_index(i18n_parse_position_h parse_position, in /** * @brief Retrieves the index at which an error occurred, or -1 if the error index * has not been set. - * @since_tizen 2.3.2 and 3.0 + * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif * * @param[in] parse_position The parse position object * @param[out] error_index The index at which an error occurred -- 2.7.4