Signal for property changes

Curtis Maloney cmaloney at cardgate.net
Sun Dec 9 13:45:24 PST 2007


Marcel Holtmann wrote:
> So what about adding a signal to the properties introspection that
> allows us to do this officially? Something like
> 
>   org.freedesktop.DBus.Properties.Changed (STRING interface_name,
>                                            STRING property_name,
>                                            VARIANT value);
> 
> Comments?

We have something almost identical in our own framework (which I, too, have been 
considering moving to the "generic" interfaces).

The only difference is ours emits the old as well as the new value.  This has 
proven to be invaluable in our application.

Worth considering, IMHO.

-- 
Curtis Maloney
cmaloney at cardgate.net



More information about the dbus mailing list