Re: guidance for org.freedesktop.DBus interfaces
Nyirő Gergő <gergo-VbCGMPl49+BBDLzU/[email protected]>
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Message-ID | <CAOch2Uc+jDqO7gBkQR8Y8M8pVh3R1uojS=tCpSY1x+uOMsC07A@mail.gmail.com> |
On Thu, Jan 7, 2021 at 2:05 AM Robert Middleton <[email protected]> wrote: > > > Is it allowed to extend the existing "org.freedesktop.DBus.Properties" interface > > for my object or should I introduce the "SetMany" method in my custom interface? > > I'm not a DBus developer, but it seems to me that having a "SetMany" > in your custom interface would be the appropriate way to handle this, > as bindings/implementations may assume that the > org.freedesktop.DBus.Properties interface contains only the methods > specified in the spec, and thus would be unable to use your custom > method if provided as part of that interface. Yes, it is a strange idea to extend a standard interface by my custom service. Thanks for the help in my loud thinking. -- Gergo _______________________________________________ dbus mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dbus