summaryrefslogtreecommitdiff
path: root/src/lib/eldbus/eldbus_model_arguments.eo
blob: f15d1da9875cdeb3a1d8ebe02ca8c5186cf98f19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
import eldbus_types;

enum Eldbus.Introspection.Argument_Direction
{
   none = 0,
   in,
   out,
}

struct Eldbus.Introspection.Argument
{
    name: Eina.Stringshare *; [[Optional]]
    type: Eina.Stringshare *;
    direction: Eldbus.Introspection.Argument_Direction;
}

class Eldbus.Model_Arguments (Eo.Base, Efl.Model.Base) {
    legacy_prefix: null;
    methods {
        constructor {
            [[Custom Eldbus_Model_Arguments constructor.

            @since 1.16]]
            params {
                @in proxy: Eldbus.Proxy*; [[Eldbus proxy]]
                @in name: const(char)*; [[Name]]
                @in arguments: const(list<Eldbus.Introspection.Argument *>)*; [[The introspected arguments]]
            }
        }
    @property name {
            get {}
            values {
                value: const(char)*;
            }
        }
    }
    implements {
        Eo.Base.constructor;
        Eo.Base.destructor;
        Efl.Model.Base.properties.get;
        Efl.Model.Base.properties_load;
        Efl.Model.Base.property.set;
        Efl.Model.Base.property.get;
        Efl.Model.Base.load;
        Efl.Model.Base.load_status.get;
        Efl.Model.Base.unload;
        Efl.Model.Base.child_add;
        Efl.Model.Base.child_del;
        Efl.Model.Base.children_slice.get;
        Efl.Model.Base.children_count.get;
        Efl.Model.Base.children_load;
    }
    constructors {
        .constructor;
    }
}