summaryrefslogtreecommitdiff
path: root/include/efl.c_eo.pxd
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2013-11-09 07:46:02 +0200
committerKai Huuhko <kai.huuhko@gmail.com>2013-11-09 09:05:44 +0200
commite557b2fcb48eab7effe2fb29e8dd7d17d1a4e534 (patch)
tree1b91e7cf5e9e01dc61aae8579b1a161bcc887d47 /include/efl.c_eo.pxd
parent91f6ce7ea82cb5bff8c35e8a748bd50f89dc572e (diff)
Eo: Add several methods, tests and more debug logging.
Methods: - parent_set/get - event_freeze(_get)/thaw - delete Functions: - event_global_freeze(_get)/thaw Moved enums to efl.eo.enums.pxd
Diffstat (limited to 'include/efl.c_eo.pxd')
-rw-r--r--include/efl.c_eo.pxd32
1 files changed, 25 insertions, 7 deletions
diff --git a/include/efl.c_eo.pxd b/include/efl.c_eo.pxd
index 62696e1..cf48e1d 100644
--- a/include/efl.c_eo.pxd
+++ b/include/efl.c_eo.pxd
@@ -37,6 +37,10 @@ cdef extern from "Eo.h":
37 37
38 ctypedef Eo_Event_Description const_Eo_Event_Description "const Eo_Event_Description" 38 ctypedef Eo_Event_Description const_Eo_Event_Description "const Eo_Event_Description"
39 39
40 ctypedef unsigned int Eo_Op
41
42 ctypedef Eo_Op EO_BASE_BASE_ID
43
40 #################################################################### 44 ####################################################################
41 # Eo Events 45 # Eo Events
42 # 46 #
@@ -62,18 +66,32 @@ cdef extern from "Eo.h":
62 int eo_ref_get(const_Eo *obj) 66 int eo_ref_get(const_Eo *obj)
63 void eo_del(const_Eo *obj) 67 void eo_del(const_Eo *obj)
64 68
65 void eo_wref_add(Eo *obj) 69 Eo_Op eo_wref_add(Eo *obj)
66 70
67 Eina_Bool eo_do(Eo *obj, ...) 71 Eina_Bool eo_do(Eo *obj, ...)
68 void eo_base_data_set(const_char *key, const_void *data, eo_base_data_free_func free_func) 72 Eina_Bool eo_class_do(Eo_Class *cls, ...)
69 void eo_base_data_get(const_char *key, void **data) 73 const_Eo_Class *eo_base_class_get()
70 void eo_base_data_del(const_char *key) 74
75 Eo_Op eo_base_data_set(const_char *key, const_void *data, eo_base_data_free_func free_func)
76 Eo_Op eo_base_data_get(const_char *key, void **data)
77 Eo_Op eo_base_data_del(const_char *key)
71 78
72 const_Eo_Class *eo_class_get(const_Eo *obj) 79 const_Eo_Class *eo_class_get(const_Eo *obj)
73 const_char *eo_class_name_get(const_Eo_Class *klass) 80 const_char *eo_class_name_get(const_Eo_Class *klass)
74 81
75 Eo *eo_parent_get(Eo **obj) 82 Eo_Op eo_parent_set(Eo *parent)
83 Eo_Op eo_parent_get(Eo **parent)
84
85 Eo_Op eo_event_callback_forwarder_add(const_Eo_Event_Description *desc, Eo *new_obj)
86 Eo_Op eo_event_callback_forwarder_del(const_Eo_Event_Description *desc, Eo *new_obj)
87
88 Eo_Op eo_event_freeze()
89 Eo_Op eo_event_thaw()
90 Eo_Op eo_event_freeze_get(int *fcount)
76 91
77 void eo_event_callback_add(const_Eo_Event_Description *desc, Eo_Event_Cb cb, const_void *data) 92 Eo_Op eo_event_global_freeze()
78 void eo_event_callback_del(const_Eo_Event_Description *desc, Eo_Event_Cb cb, const_void *data) 93 Eo_Op eo_event_global_thaw()
94 Eo_Op eo_event_global_freeze_get(int *fcount)
79 95
96 Eo_Op eo_event_callback_add(const_Eo_Event_Description *desc, Eo_Event_Cb cb, const_void *data)
97 Eo_Op eo_event_callback_del(const_Eo_Event_Description *desc, Eo_Event_Cb cb, const_void *data)