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: Add timeout argument to proxy D-Bus method calls #63

Closed martin-ejdestig closed 5 years ago

martin-ejdestig commented 5 years ago

Needed because some services do not return until a potentially very long operation has finished (e.g. waiting for input from user or configuring some hardware on the system).

Default to -1 which means use the GDBusProxy default (there is a property that is also set to -1 by efault and means "use hard coded value of 25s in GDBusConnection").