edje: Remove external param_type from EO
authorJean-Philippe Andre <jp.andre@samsung.com>
Thu, 1 Jun 2017 09:22:23 +0000 (18:22 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 7 Jun 2017 06:25:01 +0000 (15:25 +0900)
This is not exactly Legacy API but at the same time doesn't
belong to EO (see previous commits).

src/lib/edje/Edje_Common.h
src/lib/edje/edje_types.eot

index 3a1ec21..31b38c7 100644 (file)
@@ -352,6 +352,20 @@ EAPI void         edje_collection_cache_flush     (void);
  * @{
  */
 
+/** The possible types the parameters of an EXTERNAL part can be.
+ *
+ * @ingroup Edje_External
+ */
+typedef enum
+{
+  EDJE_EXTERNAL_PARAM_TYPE_INT = 0, /**< Parameter value is an integer. */
+  EDJE_EXTERNAL_PARAM_TYPE_DOUBLE, /**< Parameter value is a double. */
+  EDJE_EXTERNAL_PARAM_TYPE_STRING, /**< Parameter value is a string. */
+  EDJE_EXTERNAL_PARAM_TYPE_BOOL, /**< Parameter value is boolean. */
+  EDJE_EXTERNAL_PARAM_TYPE_CHOICE, /**< Parameter value is one of a set of predefined string choices. */
+  EDJE_EXTERNAL_PARAM_TYPE_MAX /**< Sentinel value to indicate last enum field during iteration */
+} Edje_External_Param_Type;
+
 /**
  * Flags that determine how a parameter may be accessed in different
  * circumstances.
index 2820bec..e67172b 100644 (file)
@@ -105,17 +105,6 @@ enum Edje.Input_Panel.Layout {
                       @since 1.19]]
 }
 
-/* FIXME: This probably needs to be a more generic enum with a shorter name */
-enum Edje.External.Param_Type {
-   [[The possible types the parameters of an EXTERNAL part can be.]]
-   int, [[Parameter value is an integer.]]
-   double, [[Parameter value is a double.]]
-   string, [[Parameter value is a string.]]
-   bool, [[Parameter value is boolean.]]
-   choice, [[Parameter value is one of a set of predefined string choices.]]
-   max [[Sentinel value to indicate last enum field during iteration]]
-}
-
 struct Edje.Perspective; [[Perspective info for maps inside edje objects]]
 
 enum Edje.Color_Class.Mode {