summaryrefslogtreecommitdiff
path: root/src/lib/eldbus/eldbus_model_object.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_object.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_object.eo')
-rw-r--r--src/lib/eldbus/eldbus_model_object.eo73
1 files changed, 73 insertions, 0 deletions
diff --git a/src/lib/eldbus/eldbus_model_object.eo b/src/lib/eldbus/eldbus_model_object.eo
new file mode 100644
index 0000000000..68cbc81d0f
--- /dev/null
+++ b/src/lib/eldbus/eldbus_model_object.eo
@@ -0,0 +1,73 @@
1class Eldbus.Model_Object (Eo.Base, Efl.Model.Base) {
2 legacy_prefix: null;
3 data: Eldbus_Model_Object_Data;
4 methods {
5 constructor {
6 [[Custom Eldbus_Model_Object constructor.
7
8 @since 1.16]]
9 params {
10 @in type: int; [[The connection type]]
11 @in address: const(char)*; [[Remote address of dbus]]
12 @in private_: bool; [[Non shared dbus connection]]
13 @in bus: const(char)*; [[DBus Name or unique-id]]
14 @in path: const(char)*; [[DBus path]]
15 }
16 }
17 connection_constructor {
18 [[Custom Eldbus_Model_Object connection_constructor.
19
20 @since 1.16]]
21 params {
22 @in connection: Eldbus_Connection*; [[Eldbus connection]]
23 @in bus: const(char)*; [[DBus Name or unique-id]]
24 @in path: const(char)*; [[DBus path]]
25 }
26 }
27 @property type {
28 values {
29 value: int;
30 }
31 }
32 @property address {
33 values {
34 value: const(char)*;
35 }
36 }
37 @property private {
38 values {
39 value: bool;
40 }
41 }
42 @property bus {
43 values {
44 value: const(char)*;
45 }
46 }
47 @property path {
48 values {
49 value: const(char)*;
50 }
51 }
52 }
53 implements {
54 Eo.Base.constructor;
55 Eo.Base.destructor;
56 Efl.Model.Base.properties.get;
57 Efl.Model.Base.properties_load;
58 Efl.Model.Base.property.set;
59 Efl.Model.Base.property.get;
60 Efl.Model.Base.load;
61 Efl.Model.Base.load_status.get;
62 Efl.Model.Base.unload;
63 Efl.Model.Base.child_add;
64 Efl.Model.Base.child_del;
65 Efl.Model.Base.children_slice.get;
66 Efl.Model.Base.children_count.get;
67 Efl.Model.Base.children_load;
68 }
69 constructors {
70 .constructor;
71 .connection_constructor;
72 }
73}