master implementation details

Jussi Kukkonen jhkukkon at cc.hut.fi
Mon Mar 3 10:49:15 PST 2008


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 307 bytes
Desc: OpenPGP digital signature
Url : http://lists.freedesktop.org/archives/geoclue/attachments/20080303/32e6640d/attachment.pgp 


More information about the GeoClue mailing list