summaryrefslogtreecommitdiff
path: root/src/lib/efl/Efl_Model_Common.h
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-06-10 15:52:33 +0100
committerTom Hacohen <tom@stosb.com>2015-06-10 15:52:33 +0100
commite8dd532854b64dbab3772b6426e07327b9268705 (patch)
tree0c3cf8456ae1393071e31acd14f69c649c03a1b7 /src/lib/efl/Efl_Model_Common.h
parent2605eb3c1524764c2bd5edef7bb08d914651cc75 (diff)
Efl model: Fix Eolian warnings (and migrate types).
Diffstat (limited to 'src/lib/efl/Efl_Model_Common.h')
-rw-r--r--src/lib/efl/Efl_Model_Common.h54
1 files changed, 0 insertions, 54 deletions
diff --git a/src/lib/efl/Efl_Model_Common.h b/src/lib/efl/Efl_Model_Common.h
index bd9ab62e5f..ce1ed3b66b 100644
--- a/src/lib/efl/Efl_Model_Common.h
+++ b/src/lib/efl/Efl_Model_Common.h
@@ -6,60 +6,6 @@ extern "C" {
6#endif 6#endif
7 7
8/** 8/**
9 * @enum _Efl_Model_Load_Status
10 * XXX/TODO/FIXME: Remove this enum (and possibly other data) from here
11 * as soon as eolian translates these data types in .eo's.
12 */
13enum _Efl_Model_Load_Status
14 {
15 EFL_MODEL_LOAD_STATUS_ERROR = 0,
16 EFL_MODEL_LOAD_STATUS_LOADING_PROPERTIES = (1 << 0),
17 EFL_MODEL_LOAD_STATUS_LOADING_CHILDREN = (1 << 1),
18 EFL_MODEL_LOAD_STATUS_LOADING = (1 << 0) | (1 << 1),
19
20 EFL_MODEL_LOAD_STATUS_LOADED_PROPERTIES = (1 << 2),
21 EFL_MODEL_LOAD_STATUS_LOADED_CHILDREN = (1 << 3),
22 EFL_MODEL_LOAD_STATUS_LOADED = (1 << 2) | (1 << 3),
23
24 EFL_MODEL_LOAD_STATUS_UNLOADING = (1 << 4),
25 EFL_MODEL_LOAD_STATUS_UNLOADED = (1 << 5)
26 };
27/**
28 * @typedef Efl_Model_Load_Status
29 */
30typedef enum _Efl_Model_Load_Status Efl_Model_Load_Status;
31
32/**
33 * @struct _Efl_Model_Load
34 * Structure to hold Efl_Model_Load_Status enum
35 * (and possible other data) to avoid ABI break.
36 */
37struct _Efl_Model_Load
38 {
39 Efl_Model_Load_Status status;
40 /* add more data below here if necessary */
41 };
42
43/**
44 * @typedef Efl_Model_Load
45 */
46typedef struct _Efl_Model_Load Efl_Model_Load;
47
48/**
49 * @struct _Efl_Model_Property_Event
50 */
51struct _Efl_Model_Property_Event
52{
53 const Eina_Array *changed_properties; /**< array of property name */
54 const Eina_Array *invalidated_properties; /**< array of property name */
55};
56
57/**
58 * @typedef Efl_Model_Property_Event
59 */
60typedef struct _Efl_Model_Property_Event Efl_Model_Property_Event;
61
62/**
63 * @struct _Efl_Model_Children_Event 9 * @struct _Efl_Model_Children_Event
64 * Every time a child id added the event 10 * Every time a child id added the event
65 * EFL_MODEL_EVENT_CHILD_ADDED is dispatched 11 * EFL_MODEL_EVENT_CHILD_ADDED is dispatched