summaryrefslogtreecommitdiff
path: root/src/lib/eldbus/eldbus_types.eot
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-02-17 11:49:28 +0000
committerTom Hacohen <tom@stosb.com>2016-02-17 11:59:07 +0000
commitdf8cbbc4197e6cec896ff7926129d3b21aa88a80 (patch)
tree35b302143e52a777fe6ff4cb85cb815204b40354 /src/lib/eldbus/eldbus_types.eot
parent63f717caaf92b87e272ac0790125246bba105468 (diff)
Eldbus: Move more types to eldbus_types.eot.
Diffstat (limited to 'src/lib/eldbus/eldbus_types.eot')
-rw-r--r--src/lib/eldbus/eldbus_types.eot72
1 files changed, 72 insertions, 0 deletions
diff --git a/src/lib/eldbus/eldbus_types.eot b/src/lib/eldbus/eldbus_types.eot
index dcad2ed..6788ac7 100644
--- a/src/lib/eldbus/eldbus_types.eot
+++ b/src/lib/eldbus/eldbus_types.eot
@@ -1 +1,73 @@
1import eina_types;
2
1struct Eldbus.Proxy; 3struct Eldbus.Proxy;
4struct Eldbus_Connection; [[Represents a connection of one the type of connection with the DBus daemon.]]
5struct Eldbus_Object; [[Represents an object path already attached with bus name or unique id]]
6
7enum Eldbus.Introspection.Argument_Direction
8{
9 none = 0,
10 in,
11 out,
12}
13
14/* DTD conversion form: http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd */
15
16enum Eldbus.Introspection.Property_Access
17{
18 read,
19 write,
20 readwrite,
21}
22
23/* FIXME: Properly type all of these lists. */
24struct Eldbus.Introspection.Node
25{
26 name: Eina.Stringshare *; [[optional]]
27 nodes: list<void *> *;
28 interfaces: list<void *> *;
29}
30
31struct Eldbus.Introspection.Interface
32{
33 name: Eina.Stringshare *;
34 methods: list<void *> *;
35 signals: list<void *> *;
36 properties: list<void *> *;
37 annotations: list<void *> *;
38}
39
40struct Eldbus.Introspection.Method
41{
42 name: Eina.Stringshare *;
43 arguments: list<void *> *;
44 annotations: list<void *> *;
45}
46
47struct Eldbus.Introspection.Property
48{
49 name: Eina.Stringshare *;
50 type: Eina.Stringshare *;
51 access: Eldbus.Introspection.Property_Access;
52 annotations: list<void *> *;
53}
54
55struct Eldbus.Introspection.Annotation
56{
57 name: Eina.Stringshare *;
58 value: Eina.Stringshare *;
59}
60
61struct Eldbus.Introspection.Argument
62{
63 name: Eina.Stringshare *; [[Optional]]
64 type: Eina.Stringshare *;
65 direction: Eldbus.Introspection.Argument_Direction;
66}
67
68struct Eldbus.Introspection.Signal
69{
70 name: Eina.Stringshare *;
71 arguments: list<Eldbus.Introspection.Argument *> *;
72 annotations: list<Eldbus.Introspection.Annotation *> *;
73}