From: JinYong Park Date: Wed, 1 Nov 2017 04:08:36 +0000 (+0900) Subject: Elm_Entry: Add annotation to unnamed enum X-Git-Tag: submit/sandbox/upgrade/efl120/20180319.053334~1950 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b44889305a3bb5e48bdfed9c80d690f6276c7493;p=platform%2Fupstream%2Fefl.git Elm_Entry: Add annotation to unnamed enum Summary: There are unnamed enumeration in Elm_Entry, so add annotation and names like D5376 (https://phab.enlightenment.org/D5376) Reviewers: jpeg, cedric, myoungwoon Differential Revision: https://phab.enlightenment.org/D5401 --- diff --git a/src/lib/elementary/elm_entry_common.h b/src/lib/elementary/elm_entry_common.h index 6c5d215..4e807a3 100644 --- a/src/lib/elementary/elm_entry_common.h +++ b/src/lib/elementary/elm_entry_common.h @@ -6,26 +6,43 @@ * * @{ */ -enum + +/** + * @typedef Elm_Input_Panel_Layout_Normal_Variation + * @brief Enumeration for defining the types of Elm Input Panel Layout for normal variation. + * @since 1.12 + */ +typedef enum { ELM_INPUT_PANEL_LAYOUT_NORMAL_VARIATION_NORMAL, /**< The plain normal layout @since 1.12 */ ELM_INPUT_PANEL_LAYOUT_NORMAL_VARIATION_FILENAME, /**< Filename layout. Symbols such as '/' should be disabled. @since 1.12 */ ELM_INPUT_PANEL_LAYOUT_NORMAL_VARIATION_PERSON_NAME /**< The name of a person. @since 1.12 */ -}; +} Elm_Input_Panel_Layout_Normal_Variation; -enum +/** + * @typedef Elm_Input_Panel_Layout_Numberonly_Variation + * @brief Enumeration for defining the types of Elm Input Panel Layout for number only variation. + * @since 1.8 + */ +typedef enum { ELM_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_NORMAL, /**< The plain normal number layout @since 1.8 */ ELM_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_SIGNED, /**< The number layout to allow a positive or negative sign at the start @since 1.8 */ ELM_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_DECIMAL, /**< The number layout to allow decimal point to provide fractional value @since 1.8 */ ELM_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_SIGNED_AND_DECIMAL /**< The number layout to allow decimal point and negative sign @since 1.8 */ -}; +} Elm_Input_Panel_Layout_Numberonly_Variation; -enum +/** + * @typedef Elm_Input_Panel_Layout_Password_Variation + * @brief Enumeration for defining the types of Elm Input Panel Layout for password variation. + * @since 1.12 + */ +typedef enum { ELM_INPUT_PANEL_LAYOUT_PASSWORD_VARIATION_NORMAL, /**< The normal password layout @since 1.12 */ ELM_INPUT_PANEL_LAYOUT_PASSWORD_VARIATION_NUMBERONLY /**< The password layout to allow only number @since 1.12 */ -}; +} Elm_Input_Panel_Layout_Password_Variation; + /** * The info sent in the callback for the "anchor,clicked" signals emitted * by entries.