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

Add synchronous versions of proxy creation, property set methods and method calls #68

Closed martin-ejdestig closed 5 years ago

martin-ejdestig commented 5 years ago

Makes it much easier to write e.g. a cli tool where it does not matter if one blocks. See #65 for an example where three properties needs to be set.

kursatkobya commented 5 years ago

In this case a new section should added to README as well right.

martin-ejdestig commented 5 years ago

In this case a new section should added to README as well right.

Added a commit that mentions, and warns, about using the synchronous versions in the README.md.

martin-ejdestig commented 5 years ago

Would also be nice if anyone has any idea for how to minimize code duplication before merging. @mardy, you know more about jinja than me. :) Any suggestions?