summaryrefslogtreecommitdiff
path: root/src/lib/eldbus/eldbus_model_method.eo
diff options
context:
space:
mode:
authorGuilherme Lepsch <lepsch@expertisesolutions.com.br>2015-01-09 14:20:14 -0200
committerCedric BAIL <cedric@osg.samsung.com>2015-12-10 12:02:30 -0800
commit10fa1b5b4b2454437c00a9b8931bb3f9ddb9e99c (patch)
treeb4238f5f83b55463ad2e88e97dc968f2a607a668 /src/lib/eldbus/eldbus_model_method.eo
parent48b22214493958fc852f101009b0e8a88aa77e05 (diff)
eldbus: add efl.model implementation.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/eldbus/eldbus_model_method.eo')
-rw-r--r--src/lib/eldbus/eldbus_model_method.eo35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/lib/eldbus/eldbus_model_method.eo b/src/lib/eldbus/eldbus_model_method.eo
new file mode 100644
index 0000000000..8b9d71411f
--- /dev/null
+++ b/src/lib/eldbus/eldbus_model_method.eo
@@ -0,0 +1,35 @@
1class Eldbus.Model_Method (Eldbus.Model_Arguments) {
2 legacy_prefix: null;
3 methods {
4 constructor {
5 [[Custom Eldbus_Model_Method constructor.
6
7 @since 1.16]]
8 params {
9 @in proxy: Eldbus_Proxy*; [[Eldbus proxy]]
10 @in method: const(Eldbus_Introspection_Method)*; [[The introspected method]]
11 }
12 }
13 call {
14 [[Calls the method. The properties must have been set.
15
16 The event EMODEL_EVENT_PROPERTIES_CHANGED is raised for output arguments (properties).
17
18 The event ELDBUS_MODEL_METHOD_EVENT_METHOD_CALLED is raised for a successful call. Otherwise
19 the event EMODEL_EVENT_LOAD_STATUS with the status set to EMODEL_LOAD_STATUS_ERROR is raised.
20
21 @since 1.16]]
22 return: Efl.Model.Load_Status; [[#Emodel_Load_Status on success, #EMODEL_LOAD_STATUS_ERROR otherwise.]]
23 }
24 }
25 implements {
26 Eo.Base.constructor;
27 }
28 constructors {
29 .constructor;
30 }
31 events {
32 successful,call; [[Event dispatched for a successful method call.]]
33 }
34
35}