Emits-Change flag on property #249
|
Hi all! Thanks in advance |
Replies: 1 comment 1 reply
|
There is a small section about the usage of DBus Standard Interfaces in the documentation: https://github.com/Kistler-Group/sdbus-cpp/blob/master/docs/using-sdbus-c%2B%2B.md#standard-d-bus-interfaces The short summary for properties interface is: In your adaptor implementation, you need to add the I hope that helps. |
There is a small section about the usage of DBus Standard Interfaces in the documentation: https://github.com/Kistler-Group/sdbus-cpp/blob/master/docs/using-sdbus-c%2B%2B.md#standard-d-bus-interfaces
The short summary for properties interface is: In your adaptor implementation, you need to add the
sdbus::Properties_adaptorto the template parameters ofsdbus::AdaptorInterfaces. This adds theemitPropertiesChangedSignalmethod to your adaptor that you can call to emit the signal on theorg.freedesktop.DBus.Propertiesinterface.I hope that helps.