jpeg pushed a commit to branch master.

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

commit 5540ab8c6fdb0f6a96d16af31d5a0c8ca8bd1c3e
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Thu May 25 19:22:46 2017 +0900

    edje: Remove Message_Type from EO
    
    See the previous commits, Eina_Value is used directly, no need to
    specify the type.
---
 src/lib/edje/Edje_Legacy.h  | 49 +++++++++++++++++++++++++++++++++++++++++++++
 src/lib/edje/edje_types.eot | 25 -----------------------
 2 files changed, 49 insertions(+), 25 deletions(-)

diff --git a/src/lib/edje/Edje_Legacy.h b/src/lib/edje/Edje_Legacy.h
index b0df94e237..0512f184b0 100644
--- a/src/lib/edje/Edje_Legacy.h
+++ b/src/lib/edje/Edje_Legacy.h
@@ -97,6 +97,55 @@ EAPI void        *edje_object_signal_callback_del 
(Evas_Object *obj, const char
  */
 EAPI void        *edje_object_signal_callback_del_full(Evas_Object *obj, const 
char *emission, const char *source, Edje_Signal_Cb func, void *data);
 
+
+/** Identifiers of Edje message types, which can be sent back and forth code
+ * and a given Edje object's theme file/group.
+ *
+ * @ref edje_object_message_send
+ * @ref edje_object_message_handler_set
+ */
+typedef enum
+{
+  EDJE_MESSAGE_NONE = 0, /**< No message type */
+  EDJE_MESSAGE_SIGNAL = 1, /**< DO NOT USE THIS */
+  EDJE_MESSAGE_STRING = 2, /**< A message with a string as value. Use
+                            * #Edje_Message_String structs as message body, for
+                            * this type. */
+  EDJE_MESSAGE_INT = 3, /**< A message with an integer number as value. Use
+                         * #Edje_Message_Int structs as message body, for this
+                         * type. */
+  EDJE_MESSAGE_FLOAT = 4, /**< A message with a floating pointer number as
+                           * value. Use #Edje_Message_Float structs as message
+                           * body, for this type. */
+  EDJE_MESSAGE_STRING_SET = 5, /**< A message with a list of strings as value.
+                                * Use #Edje_Message_String_Set structs as
+                                * message body, for this type. */
+  EDJE_MESSAGE_INT_SET = 6, /**< A message with a list of integer numbers as
+                             * value. Use #Edje_Message_Int_Set structs as
+                             * message body, for this type. */
+  EDJE_MESSAGE_FLOAT_SET = 7, /**< A message with a list of floating point
+                               * numbers as value. Use #Edje_Message_Float_Set
+                               * structs as message body, for this type. */
+  EDJE_MESSAGE_STRING_INT = 8, /**< A message with a struct containing a string
+                                * and an integer number as value. Use
+                                * #Edje_Message_String_Int structs as message
+                                * body, for this type. */
+  EDJE_MESSAGE_STRING_FLOAT = 9, /**< A message with a struct containing a
+                                  * string and a floating point number as
+                                  * value. Use #Edje_Message_String_Float
+                                  * structs as message body, for this type. */
+  EDJE_MESSAGE_STRING_INT_SET = 10, /**< A message with a struct containing a
+                                     * string and list of integer numbers as
+                                     * value. Use #Edje_Message_String_Int_Set
+                                     * structs as message body, for this type.
+                                     */
+  EDJE_MESSAGE_STRING_FLOAT_SET = 11 /**< A message with a struct containing a
+                                      * string and list of floating point
+                                      * numbers as value. Use
+                                      * #Edje_Message_String_Float_Set structs
+                                      * as message body, for this type. */
+} Edje_Message_Type;
+
 /**
  * @brief Sets an Edje message handler function for a given Edje object.
  *
diff --git a/src/lib/edje/edje_types.eot b/src/lib/edje/edje_types.eot
index 36dec6fb42..2237b4082f 100644
--- a/src/lib/edje/edje_types.eot
+++ b/src/lib/edje/edje_types.eot
@@ -152,31 +152,6 @@ struct Edje.External.Param {
    s: string; [[Used by both string and choice]]
 }
 
-enum Edje.Message_Type {
-   [[Identifiers of Edje message types, which can be sent back and forth code 
and a given Edje object's theme file/group.
-     \@ref edje_object_message_send, \@ref edje_object_message_handler_set.
-   ]]
-   legacy: Edje_Message;
-
-   none = 0, [[No message type]]
-
-   signal = 1, [[DO NOT USE THIS]]
-
-   string = 2, [[A message with a string as value. Use #Edje_Message_String 
structs as message body, for this type.]]
-   int = 3, [[A message with an integer number as value. Use #Edje_Message_Int 
structs as message body, for this type.]]
-   float = 4, [[A message with a floating pointer number as value. Use 
#Edje_Message_Float structs as message body, for this type.]]
-
-   string_set = 5, [[A message with a list of strings as value. Use 
#Edje_Message_String_Set structs as message body, for this type.]]
-   int_set = 6, [[A message with a list of integer numbers as value. Use 
#Edje_Message_Int_Set structs as message body, for this type.]]
-   float_set = 7, [[A message with a list of floating point numbers as value. 
Use #Edje_Message_Float_Set structs as message body, for this type.]]
-
-   string_int = 8, [[A message with a struct containing a string and an 
integer number as value. Use #Edje_Message_String_Int structs as message body, 
for this type.]]
-   string_float = 9, [[A message with a struct containing a string and a 
floating point number as value. Use #Edje_Message_String_Float structs as 
message body, for this type.]]
-
-   string_int_set = 10, [[A message with a struct containing a string and list 
of integer numbers as value. Use #Edje_Message_String_Int_Set structs as 
message body, for this type.]]
-   string_float_set = 11 [[A message with a struct containing a string and 
list of floating point numbers as value. Use #Edje_Message_String_Float_Set 
structs as message body, for this type.]]
-}
-
 
 struct Edje.Perspective; [[Perspective info for maps inside edje objects]]
 

-- 


Reply via email to