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

Make stub instances exportable over multiple object paths and connections #81

Closed mardy closed 4 years ago

mardy commented 5 years ago

While not very common, there are cases where one might want to export the very same object over two different object paths. Also, especially when dealing with clients connecting directly to the service over a socket connection (bypassing the D-Bus daemon), it should be possible to export the same object over two different connections (on the same or on a different object path).

martin-ejdestig commented 5 years ago

From #78 :

Would have to store a list of:

- registered object id:s to get automatic de-registration on destruction.
- object paths for iterating over when doing signal emission... right?