summaryrefslogtreecommitdiff
path: root/src/lib/eldbus/eldbus_types.eot
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-11-04 11:47:34 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-11-04 13:19:57 -0200
commit7b590c126edde338b6a0ef99c6b9213062f7ecbd (patch)
treeb60c61161c8406b56b129fe637b2842516f3e505 /src/lib/eldbus/eldbus_types.eot
parentd8ad2507bcbba6215e75dd1e76d8ade379dfe48a (diff)
eldbus/eo: improve API
remove setters that do not make sense, they are set in the constructor functions and cannot be changed. define the Eldbus_Connection_Type in .eo, properly type functions using it.
Diffstat (limited to 'src/lib/eldbus/eldbus_types.eot')
-rw-r--r--src/lib/eldbus/eldbus_types.eot10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/eldbus/eldbus_types.eot b/src/lib/eldbus/eldbus_types.eot
index 5db9054..a4db94e 100644
--- a/src/lib/eldbus/eldbus_types.eot
+++ b/src/lib/eldbus/eldbus_types.eot
@@ -4,6 +4,16 @@ struct Eldbus.Proxy; [[Represents a client object bound to an interface]]
4struct Eldbus.Connection; [[Represents a connection of one the type of connection with the DBus daemon.]] 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]] 5struct Eldbus.Object; [[Represents an object path already attached with bus name or unique id]]
6 6
7enum @extern Eldbus.Connection.Type
8{
9 unknown = 0, [[sentinel, not a real type]]
10 session, [[regular user session bus, used for applications and services running per user]]
11 system, [[system-wide connection bus, used for system services]]
12 starter, [[Uses whatever bus started our application, be session or system]]
13 address, [[A private bus at a specific address]]
14 last, [[sentinel, not a real type]]
15}
16
7enum Eldbus.Introspection.Argument_Direction 17enum Eldbus.Introspection.Argument_Direction
8{ 18{
9 [[Argument direction]] 19 [[Argument direction]]