summaryrefslogtreecommitdiff
path: root/src/lib/eldbus
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-02-17 11:28:21 +0000
committerTom Hacohen <tom@stosb.com>2016-02-17 11:30:24 +0000
commit63f717caaf92b87e272ac0790125246bba105468 (patch)
tree25e5a6fc2590e1be6d9193e75bb089024797807f /src/lib/eldbus
parent094a1f2b5ebb0850ceeff5b04819dd897c70b27f (diff)
Eldbus: Create eldbus_types.eot and start using it.
Diffstat (limited to 'src/lib/eldbus')
-rw-r--r--src/lib/eldbus/eldbus_introspection.h3
-rw-r--r--src/lib/eldbus/eldbus_model_arguments.eo4
-rw-r--r--src/lib/eldbus/eldbus_model_method.eo2
-rw-r--r--src/lib/eldbus/eldbus_model_signal.eo2
-rw-r--r--src/lib/eldbus/eldbus_types.eot1
5 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/eldbus/eldbus_introspection.h b/src/lib/eldbus/eldbus_introspection.h
index 542a474e32..4fc297830d 100644
--- a/src/lib/eldbus/eldbus_introspection.h
+++ b/src/lib/eldbus/eldbus_introspection.h
@@ -4,8 +4,7 @@
4#include <Eina.h> 4#include <Eina.h>
5#include <Eo.h> 5#include <Eo.h>
6 6
7typedef struct _Eldbus_Proxy Eldbus_Proxy; 7#include "eldbus_types.eot.h"
8
9#include "eldbus_model_arguments.eo.h" 8#include "eldbus_model_arguments.eo.h"
10 9
11// DTD conversion form: http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd 10// DTD conversion form: http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd
diff --git a/src/lib/eldbus/eldbus_model_arguments.eo b/src/lib/eldbus/eldbus_model_arguments.eo
index 5a74690938..f15d1da987 100644
--- a/src/lib/eldbus/eldbus_model_arguments.eo
+++ b/src/lib/eldbus/eldbus_model_arguments.eo
@@ -1,4 +1,4 @@
1struct @extern Eldbus_Proxy; /* FIXME: Move to Eot file. */ 1import eldbus_types;
2 2
3enum Eldbus.Introspection.Argument_Direction 3enum Eldbus.Introspection.Argument_Direction
4{ 4{
@@ -22,7 +22,7 @@ class Eldbus.Model_Arguments (Eo.Base, Efl.Model.Base) {
22 22
23 @since 1.16]] 23 @since 1.16]]
24 params { 24 params {
25 @in proxy: Eldbus_Proxy*; [[Eldbus proxy]] 25 @in proxy: Eldbus.Proxy*; [[Eldbus proxy]]
26 @in name: const(char)*; [[Name]] 26 @in name: const(char)*; [[Name]]
27 @in arguments: const(list<Eldbus.Introspection.Argument *>)*; [[The introspected arguments]] 27 @in arguments: const(list<Eldbus.Introspection.Argument *>)*; [[The introspected arguments]]
28 } 28 }
diff --git a/src/lib/eldbus/eldbus_model_method.eo b/src/lib/eldbus/eldbus_model_method.eo
index 8b9d71411f..dc5f810c7b 100644
--- a/src/lib/eldbus/eldbus_model_method.eo
+++ b/src/lib/eldbus/eldbus_model_method.eo
@@ -6,7 +6,7 @@ class Eldbus.Model_Method (Eldbus.Model_Arguments) {
6 6
7 @since 1.16]] 7 @since 1.16]]
8 params { 8 params {
9 @in proxy: Eldbus_Proxy*; [[Eldbus proxy]] 9 @in proxy: Eldbus.Proxy*; [[Eldbus proxy]]
10 @in method: const(Eldbus_Introspection_Method)*; [[The introspected method]] 10 @in method: const(Eldbus_Introspection_Method)*; [[The introspected method]]
11 } 11 }
12 } 12 }
diff --git a/src/lib/eldbus/eldbus_model_signal.eo b/src/lib/eldbus/eldbus_model_signal.eo
index 237b149dbe..3a090a33a4 100644
--- a/src/lib/eldbus/eldbus_model_signal.eo
+++ b/src/lib/eldbus/eldbus_model_signal.eo
@@ -6,7 +6,7 @@ class Eldbus.Model_Signal (Eldbus.Model_Arguments) {
6 6
7 @since 1.16]] 7 @since 1.16]]
8 params { 8 params {
9 @in proxy: Eldbus_Proxy*; [[Eldbus proxy]] 9 @in proxy: Eldbus.Proxy*; [[Eldbus proxy]]
10 @in signal: const(Eldbus_Introspection_Signal)*; [[The introspected method]] 10 @in signal: const(Eldbus_Introspection_Signal)*; [[The introspected method]]
11 } 11 }
12 } 12 }
diff --git a/src/lib/eldbus/eldbus_types.eot b/src/lib/eldbus/eldbus_types.eot
new file mode 100644
index 0000000000..dcad2ed96e
--- /dev/null
+++ b/src/lib/eldbus/eldbus_types.eot
@@ -0,0 +1 @@
struct Eldbus.Proxy;