Ticket #2 (closed task: fixed)
Rely on introspection rather than hardcoding the interface
|Reported by:||mickey||Owned by:||mickey|
To implement org.freesmartphone.Device.List we rely on <object>.interface. This is wrong for two reasons:
- An object can have more than just one interface
- Double bookkeeping is evil
Solution: Use the built-in dbus introspection interface of objects. Downside: Will require an additional dbus roundtrip, but I gather List'ing objects will only occur seldomly (once on startup).