org.freedesktop.DBus.Properties.GetAll

Thiago Macieira thiago at kde.org
Thu Apr 12 12:06:41 PDT 2007


Havoc Pennington wrote:
>The dbus spec defines a Properties interface with methods:
>
>  VARIANT Get(STRING interfaceName, STRING propName)
>  void    Set(STRING interfaceName, STRING propName, VARIANT value);
>
>I'd like to add to the spec:
>
>  DICT<STRING,VARIANT> GetAll(STRING interfaceName)

I agree with that proposal.

>Also somewhat missing here is change notification, but I can't think of
>any reasonable way to do it since the efficiency tradeoffs are pretty
>different in different situations.

I would oppose that change. It's completely impossible to implement it in 
Qt. Any such addition to the API would be a method to "sometimes get 
notified of changes", since not all backends can support it.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20070412/9db1247e/attachment.pgp


More information about the dbus mailing list