summaryrefslogtreecommitdiff
path: root/src/lib/efl/Efl_Model_Common.h
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2018-05-11 17:20:40 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2018-05-19 01:42:26 +0200
commit35bbedc96f158885bf36c741ec402a97a02f52f0 (patch)
treef2891f942765a3264973f7141215b9029350d665 /src/lib/efl/Efl_Model_Common.h
parent6fdc3794eb933ed28d29a0c8d1b206ddab61b836 (diff)
efl: Add missing event types
Summary: All events must have a type now, otherwise bindings don't know how to handle the event_info field. Most of the missing event types were actually "void" (no event_info present). Some struct definitions had to be moved to eo instead of h files, so they are available to bindings. Some have not, and are marked with FIXME. Some namespaces have been fixed (like Efl_Event_Cb -> Efl.Event_Cb). In general, there are hundreds of changed files, but mostly to add a type which was not present before, so there's no harm done. Also, A lot of FIXMEs have been added which should be, like, fixed. For example, some events can send different types of event_info, which is very inconvenient (and error prone). Test Plan: make with c# bindings works, make check and make examples work too. Reviewers: cedric, q66, lauromoura Subscribers: zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6169
Diffstat (limited to 'src/lib/efl/Efl_Model_Common.h')
-rw-r--r--src/lib/efl/Efl_Model_Common.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/lib/efl/Efl_Model_Common.h b/src/lib/efl/Efl_Model_Common.h
index 789ea36e38..8ed3858bbb 100644
--- a/src/lib/efl/Efl_Model_Common.h
+++ b/src/lib/efl/Efl_Model_Common.h
@@ -13,29 +13,6 @@ EAPI extern Eina_Error EFL_MODEL_ERROR_PERMISSION_DENIED;
13EAPI extern Eina_Error EFL_MODEL_ERROR_INVALID_OBJECT; /**< @since 1.19 */ 13EAPI extern Eina_Error EFL_MODEL_ERROR_INVALID_OBJECT; /**< @since 1.19 */
14 14
15/** 15/**
16 * @struct _Efl_Model_Children_Event
17 * Every time a child id added the event
18 * EFL_MODEL_EVENT_CHILD_ADDED is dispatched
19 * passing along this structure.
20 */
21struct _Efl_Model_Children_Event
22{
23 /**
24 * index is a hint and is intended
25 * to provide a way for applications
26 * to control/know children relative
27 * positions through listings.
28 */
29 unsigned int index;
30 /**
31 * If an object has been build for this index and
32 * is currently tracked by the parent, it wild be
33 * available here.
34 */
35 Eo *child;
36};
37
38/**
39 * @struct Efl_Model_Children_Event 16 * @struct Efl_Model_Children_Event
40 */ 17 */
41typedef struct _Efl_Model_Children_Event Efl_Model_Children_Event; 18typedef struct _Efl_Model_Children_Event Efl_Model_Children_Event;