From 30a049a7b7d001ada26124c0463bceb5dc754867 Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Thu, 20 Oct 2016 15:49:14 +0200 Subject: [PATCH] docs: eldbus: document all eldbus structs and its members --- src/lib/eldbus/eldbus_types.eot | 69 +++++++++++++++++++-------------- 1 file changed, 39 insertions(+), 30 deletions(-) diff --git a/src/lib/eldbus/eldbus_types.eot b/src/lib/eldbus/eldbus_types.eot index a8c9dd3389..5db90543ae 100644 --- a/src/lib/eldbus/eldbus_types.eot +++ b/src/lib/eldbus/eldbus_types.eot @@ -1,73 +1,82 @@ import eina_types; -struct Eldbus.Proxy; +struct Eldbus.Proxy; [[Represents a client object bound to an interface]] struct Eldbus.Connection; [[Represents a connection of one the type of connection with the DBus daemon.]] struct Eldbus.Object; [[Represents an object path already attached with bus name or unique id]] enum Eldbus.Introspection.Argument_Direction { - none = 0, - in, - out, + [[Argument direction]] + none = 0, [[No direction]] + in, [[Incoming direction]] + out, [[Outgoing direction]] } /* DTD conversion form: http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd */ enum Eldbus.Introspection.Property_Access { - read, - write, - readwrite, + [[Property access rights]] + read, [[Property can be read]] + write, [[Property can be written]] + readwrite, [[Property can be read and written]] } /* FIXME: Properly type all of these lists. */ struct Eldbus.Introspection.Node { - name: stringshare; [[optional]] - nodes: list; - interfaces: list; + [[DBus Node]] + name: stringshare; [[Node name (optional)]] + nodes: list; [[List with nodes]] + interfaces: list; [[List with interfaces]] } struct Eldbus.Introspection.Interface { - name: stringshare; - methods: list; - signals: list; - properties: list; - annotations: list; + [[DBus Interface]] + name: stringshare; [[Interface name]] + methods: list; [[List with interface methods]] + signals: list; [[List with interface signals]] + properties: list; [[List with interface properties]] + annotations: list; [[List with interface annotations]] } struct Eldbus.Introspection.Method { - name: stringshare; - arguments: list; - annotations: list; + [[DBus Method]] + name: stringshare; [[Method name]] + arguments: list; [[List with method arguments]] + annotations: list; [[List with method annotations]] } struct Eldbus.Introspection.Property { - name: stringshare; - type: stringshare; - access: Eldbus.Introspection.Property_Access; - annotations: list; + [[DBus Property]] + name: stringshare; [[Property name]] + type: stringshare; [[Property type]] + access: Eldbus.Introspection.Property_Access; [[Property access rights]] + annotations: list; [[List with property annotations]] } struct Eldbus.Introspection.Annotation { - name: stringshare; - value: stringshare; + [[DBus Annotation]] + name: stringshare; [[Annotation name]] + value: stringshare; [[Annotation value]] } struct Eldbus.Introspection.Argument { - name: stringshare; [[Optional]] - type: stringshare; - direction: Eldbus.Introspection.Argument_Direction; + [[DBus Argument]] + name: stringshare; [[Argument name (optional)]] + type: stringshare; [[Argument type]] + direction: Eldbus.Introspection.Argument_Direction; [[Argument direction]] } struct Eldbus.Introspection.Signal { - name: stringshare; - arguments: list; - annotations: list; + [[DBus Signal]] + name: stringshare; [[Signal name]] + arguments: list; [[List with signal arguments]] + annotations: list; [[List with signal annotations]] }