ObjectManager not used for children objects?

Dan Williams dcbw at redhat.com
Tue Nov 12 10:00:53 PST 2013


Hi,

Jan Grulich was working on MM Qt bindings and found that the
ObjectManager doesn't know about all the objects that MM exports.  The
objects are getting exported with g_dbus_interface_skeleton_export(),
but should they be exported with g_dbus_object_manager_server_export()
instead?  Watching with dbus-monitor, I'm not seeing any ObjectManager
interface signals when new Bearers get created, for example.

Exporting with g_dbus_object_manager_server_export() would require
either pushing the ObjectManager instance down into a couple classes
(Bearer, SIM, SMS), but maybe that's the right thing to do instead of a
singleton with a global get() function?

Dan



More information about the ModemManager-devel mailing list