jpeg pushed a commit to branch master.

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

commit 52bced7f0f16d4093667f04da8a8087881e6fa35
Author: Jean-Philippe Andre <[email protected]>
Date:   Thu Jun 1 18:22:23 2017 +0900

    edje: Remove external param_type from EO
    
    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  | 14 ++++++++++++++
 src/lib/edje/edje_types.eot | 11 -----------
 2 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/src/lib/edje/Edje_Common.h b/src/lib/edje/Edje_Common.h
index 3a1ec21f15..31b38c7882 100644
--- a/src/lib/edje/Edje_Common.h
+++ b/src/lib/edje/Edje_Common.h
@@ -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.
diff --git a/src/lib/edje/edje_types.eot b/src/lib/edje/edje_types.eot
index 2820bec05c..e67172b39f 100644
--- a/src/lib/edje/edje_types.eot
+++ b/src/lib/edje/edje_types.eot
@@ -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 {

-- 


Reply via email to