Hi,

On Wed, 2010-12-08 at 23:53 +0100, david.la...@nokia.com wrote:
> Hi,
> 
> > The code in
> > qgeoareamonitor_simulator.cpp seems to be generic, so why use it only
> > for the simulator?
> 
> We've had something like that on our radar for a while (we used the Maemo 5 
> backend with a few changes to make the usage of the generic QGeoAreaMonitor 
> more power efficient).
> 
> If you checkout out the master branch of Qt Mobility you should see that 
> we've changed the code to use the generic backend when there isn't any native 
> support for QGeoAreaMonitor.  It will make use of the platform default 
> QGeoPositionInfoSource, so it's not much help on the desktop at present.  

I've seen it now. Looks better to me, but (as you said) wouldn't have
helped me with my problem.

> We have some other stuff we need to work out in this area with regard to 
> custom QGeoPositionInfoSources, so I'll add a note to try to work out how to 
> associate custom custom QGeoPositionInfoSources with the generic 
> QGeoAreaMonitor.

Maybe let the programmer define what the default source is. I mean have
a platform default, but make it overridable by the programmer. Something
like:
QGeoPositionInfoSource::setDefaultSource(QGeoPositionInfoSource s)

This way there would be only one place where I have to specify my geo
source and it would work with the existing geo area monitors.

Just and idea, of course :)

Cheers,
Conny


_______________________________________________
Qt-mobility-feedback mailing list
Qt-mobility-feedback@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback

Reply via email to