summaryrefslogtreecommitdiff
path: root/src/lib/edje/efl_layout_signal.eo
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2019-02-06 13:48:43 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-02-06 13:48:43 -0500
commitf484ca0951e4875f926ebbd9f779d38a13659577 (patch)
treee67dfc2db88b882e6e904d4ac6219c9549472cb7 /src/lib/edje/efl_layout_signal.eo
parent917e0aa0feb9a79721953ea632723d26a251a850 (diff)
edje: migrate Eo API to use Eo callback instead of opaque type.
Summary: Depends on D7869 Reviewers: zmike, q66, segfaultxavi, bu5hm4n Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7671 Differential Revision: https://phab.enlightenment.org/D7870
Diffstat (limited to '')
-rw-r--r--src/lib/edje/efl_layout_signal.eo15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/lib/edje/efl_layout_signal.eo b/src/lib/edje/efl_layout_signal.eo
index 708dc3279a..3b4562e596 100644
--- a/src/lib/edje/efl_layout_signal.eo
+++ b/src/lib/edje/efl_layout_signal.eo
@@ -8,7 +8,14 @@
8 match that. 8 match that.
9*/ 9*/
10 10
11type Efl.Signal_Cb: __undefined_type; [[Signal callback.]] 11function EflLayoutSignalCb {
12 [[EflLayoutSignalCb function that is called when a specifc pair of signal/emision is triggered]]
13 params {
14 @in object: Efl.Layout.Signal; [[The object the callback is being triggered from.]]
15 @in emission: string; [[The name component of the signal.]]
16 @in source: string; [[The source of a signal used as context.]]
17 }
18};
12 19
13interface Efl.Layout.Signal 20interface Efl.Layout.Signal
14{ 21{
@@ -83,9 +90,8 @@ interface Efl.Layout.Signal
83 params { 90 params {
84 @in emission: string; [[The signal's "emission" string]] 91 @in emission: string; [[The signal's "emission" string]]
85 @in source: string; [[The signal's "source" string]] 92 @in source: string; [[The signal's "source" string]]
86 @in func: Efl.Signal_Cb; 93 @in func: EflLayoutSignalCb;
87 [[The callback function to be executed when the signal is emitted.]] 94 [[The callback function to be executed when the signal is emitted.]]
88 @in data: void_ptr; [[A pointer to data to pass to $func.]]
89 } 95 }
90 return: bool; [[$true in case of success, $false in case of error.]] 96 return: bool; [[$true in case of success, $false in case of error.]]
91 } 97 }
@@ -102,9 +108,8 @@ interface Efl.Layout.Signal
102 params { 108 params {
103 @in emission: string; [[The signal's "emission" string]] 109 @in emission: string; [[The signal's "emission" string]]
104 @in source: string; [[The signal's "source" string]] 110 @in source: string; [[The signal's "source" string]]
105 @in func: Efl.Signal_Cb; 111 @in func: EflLayoutSignalCb;
106 [[The callback function to be executed when the signal is emitted.]] 112 [[The callback function to be executed when the signal is emitted.]]
107 @in data: void_ptr; [[A pointer to data to pass to $func.]]
108 } 113 }
109 return: bool; [[$true in case of success, $false in case of error.]] 114 return: bool; [[$true in case of success, $false in case of error.]]
110 } 115 }