jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=b44889305a3bb5e48bdfed9c80d690f6276c7493

commit b44889305a3bb5e48bdfed9c80d690f6276c7493
Author: JinYong Park <[email protected]>
Date:   Wed Nov 1 13:08:36 2017 +0900

    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
---
 src/lib/elementary/elm_entry_common.h | 29 +++++++++++++++++++++++------
 1 file changed, 23 insertions(+), 6 deletions(-)

diff --git a/src/lib/elementary/elm_entry_common.h 
b/src/lib/elementary/elm_entry_common.h
index 6c5d2151d0..4e807a3b32 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.

-- 


Reply via email to