diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2020-09-10 18:49:22 +0200 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2020-09-10 18:49:22 +0200 |
commit | be5047c0d2a3696f8cbd0e36987ef78ded6df09b (patch) | |
tree | bd34e941ae20482abce21138437ed46e20cc37c5 /src/dbusbind.c | |
parent | 70a8d06fe125f66266d66ece2a428c01f1d9b4e1 (diff) | |
download | emacs-be5047c0d2a3696f8cbd0e36987ef78ded6df09b.tar.gz |
Implement D-Bus properties with compound type.
* lisp/net/dbus.el (dbus-set-property): Fix thinko.
(dbus-register-property, dbus-property-handler): Support compound
properties.
* src/dbusbind.c (dbus-registered-objects-table): Fix docstring.
* test/lisp/net/dbus-tests.el (dbus--test-interface): Make it
different to `dbus--test-service'.
(dbus-test05-register-property)
(dbus-test05-register-property-several-paths): Adapt tests.
Diffstat (limited to 'src/dbusbind.c')
-rw-r--r-- | src/dbusbind.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/dbusbind.c b/src/dbusbind.c index af294afe92c..02af244ac38 100644 --- a/src/dbusbind.c +++ b/src/dbusbind.c @@ -1824,10 +1824,11 @@ SERVICE PATH OBJECT [RULE]) ...). SERVICE is the service name as registered, UNAME is the corresponding unique name. In case of registered methods and properties, UNAME is nil. PATH is the object path of the sending object. All of them can be nil, which means a -wildcard then. OBJECT is either the handler to be called when a D-Bus -message, which matches the key criteria, arrives (TYPE `:method' and -`:signal'), or a list containing the value of the property and its -attributes (TYPE `:property'). +wildcard then. + +OBJECT is either the handler to be called when a D-Bus message, which +matches the key criteria, arrives (TYPE `:method' and `:signal'), or a +list (ACCESS EMITS-SIGNAL SIGNATURE VALUE) for TYPE `:property'. For entries of type `:signal', there is also a fifth element RULE, which keeps the match string the signal is registered with. |