summaryrefslogtreecommitdiff
path: root/src/lib/eldbus/eldbus_model_proxy.eo
diff options
context:
space:
mode:
authorCedric Bail <cedric@osg.samsung.com>2017-10-25 18:05:41 -0700
committerCedric BAIL <cedric@osg.samsung.com>2018-04-30 14:21:11 -0700
commit3edb4ca6975946b7cfd3b261f5c1c7a46d681710 (patch)
tree3bc25f720b7a4ea86d462522ede9563be01594f4 /src/lib/eldbus/eldbus_model_proxy.eo
parentddcf8d8b9712e744cc4247eb219ad1f11d1bb455 (diff)
eldbus: migrate and refactor eldbus.model to new efl.model API.
Diffstat (limited to 'src/lib/eldbus/eldbus_model_proxy.eo')
-rw-r--r--src/lib/eldbus/eldbus_model_proxy.eo32
1 files changed, 18 insertions, 14 deletions
diff --git a/src/lib/eldbus/eldbus_model_proxy.eo b/src/lib/eldbus/eldbus_model_proxy.eo
index 00521e6..0bb8b3e 100644
--- a/src/lib/eldbus/eldbus_model_proxy.eo
+++ b/src/lib/eldbus/eldbus_model_proxy.eo
@@ -1,19 +1,24 @@
1import eldbus_types; 1import eldbus_types;
2 2
3class Eldbus.Model.Proxy (Efl.Object, Efl.Model) { 3class Eldbus.Model.Proxy (Eldbus.Model) {
4 [[Eldbus model proxy class]] 4 [[Eldbus model proxy class]]
5 5
6 methods { 6 methods {
7 custom_constructor { 7 @property object {
8 [[Custom Eldbus_Model_Proxy constructor. 8 [[Object]]
9 9 set {}
10 @since 1.16]] 10 values {
11 params { 11 object: ptr(Eldbus.Object); [[Eldbus object]]
12 @in object: ptr(Eldbus.Object); [[Eldbus object]] 12 }
13 }
14 @property interface {
15 [[Object]]
16 set {}
17 values {
13 @cref interface: Eldbus.Introspection.Interface; [[The introspected interface]] 18 @cref interface: Eldbus.Introspection.Interface; [[The introspected interface]]
14 } 19 }
15 } 20 }
16 @property proxy_name { 21 @property proxy_name {
17 [[Proxy name]] 22 [[Proxy name]]
18 get {} 23 get {}
19 values { 24 values {
@@ -23,16 +28,15 @@ class Eldbus.Model.Proxy (Efl.Object, Efl.Model) {
23 } 28 }
24 implements { 29 implements {
25 Efl.Object.constructor; 30 Efl.Object.constructor;
31 Efl.Object.finalize;
32 Efl.Object.invalidate;
26 Efl.Object.destructor; 33 Efl.Object.destructor;
27 Efl.Model.properties { get; } 34 Efl.Model.properties { get; }
28 Efl.Model.property_set; 35 Efl.Model.property { set; get; }
29 Efl.Model.property_get;
30 Efl.Model.child_add;
31 Efl.Model.child_del;
32 Efl.Model.children_slice_get; 36 Efl.Model.children_slice_get;
33 Efl.Model.children_count_get; 37 Efl.Model.children_count { get; }
34 } 38 }
35 constructors { 39 constructors {
36 .custom_constructor; 40 .interface;
37 } 41 }
38} 42}