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

Limited number of signal arguments. #96

Open summeromance opened 4 years ago

summeromance commented 4 years ago

In fact, it is not a generator bug or limitation.

DBus signal is used by connecting xxx_emitter to sigc::signal, but sigc::signal can only use up to 7 arguments. So, if it exceeds the allowed number of arguments, it will not compile.

I think it may be helpful to output a warning message if there are too many arguments of the signal during code generation.