Signal for property changes

Marcel Holtmann marcel at holtmann.org
Mon Mar 24 12:28:23 PDT 2008


Hi J5,

>>>> did you read the second paragraph of my response? I see that  
>>>> issue and
>>>> thus we annotate the properties that do know and in that case we  
>>>> can
>>>> send out that signal.
>>>
>>> Apparently I did not. Sorry about that.
>>>
>>> Indeed, with such an annotation available, it would be possible.
>>
>> any ideas about the naming? I am not sure what rules have to be  
>> followed
>> for the annotation. Maybe something like:
>>
>> 	org.freedesktop.DBus.Property.ChangedSignal
>
> You don't need the word Signal in the name.  For instance losing a  
> name
> on the bus is org.freedesktop.DBus.NameLost so
> org.freedesktop.DBus.Property.Changed should be fine.  If someone else
> used that namespace in their product then it is too bad since that  
> is a
> reserved namespace.

actually this was for the annotation. The signal it self will be  
Property.Changed, but we have to annotate if this signal will always  
sent or not. Mainly to make it backward compatible with older  
specifications and implementations.

Regards

Marcel



More information about the dbus mailing list