Pelagicore / gdbus-codegen-glibmm

Code generator for C++ D-Bus stubs and proxies using Giomm/Glibmm
GNU Lesser General Public License v2.1
23 stars 25 forks source link

templates: Omit setter stubs for read-only properties #99

Open jpcima opened 2 years ago

jpcima commented 2 years ago

The generated code will have stubs for setters which I don't think should be there; the properties are read-only and they should not need a setter.

Example https://specifications.freedesktop.org/mpris-spec/latest/Player_Interface.html https://gitlab.freedesktop.org/mpris/mpris-spec/-/blob/master/spec/org.mpris.MediaPlayer2.Player.xml