Since we're aiming to push our code to freedesktop, we might bring the work more in the open as well... So, a couple of design issues I'm pondering at the moment:
MasterClient now chooses the used providers as soon as preferences are set. This means providers for all supported interfaces will be chosen (and possibly started depending on provider). It would be smarter to start providers for only the interfaces that are requested... like somehow hooking into geoclue_position_new() and friends. Iain, do you see a clean way to do this? I realized we've overloaded the meaning of GEOCLUE_RESOURCE_FLAGS_NETWORK a bit too much: Currently it's taken to mean both * "provider that requires network access" and * "provider that can be expected to update only on network changes". Our current providers are both but it's fairly easy to think of an example where that's not true. I guess I should add a Provides-flag for the latter case? Jussi
signature.asc
Description: OpenPGP digital signature
_______________________________________________ GeoClue mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/geoclue
