Elm_Entry: Add annotation to unnamed enum 85/158185/4 accepted/tizen/unified/20171102.061557 submit/tizen/20171101.082936
authorJinYong Park <j4939.park@samsung.com>
Mon, 30 Oct 2017 08:35:35 +0000 (17:35 +0900)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Wed, 1 Nov 2017 06:03:57 +0000 (06:03 +0000)
Summary

There are unnamed enumeration in Elm_Entry,
so add annotation and names like D5376 (https://phab.enlightenment.org/D5376)

https://phab.enlightenment.org/D5401

Change-Id: I3cf2f8ebb5357e2b1e63ebae6fc340cfe4511d20
Signed-off-by: JinYong Park <j4939.park@samsung.com>
src/lib/elm_entry_common.h

index 509d9cb..3ab29dd 100644 (file)
@@ -3,26 +3,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 normal 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.