Location *GpsControllerPrivate::liveLocation()
{
+ m_mostRecentlyReportedLocation = m_liveLocation;
return m_liveLocation;
}
{
Locations *locations = Locations::instance();
Location *location = locations->location( fakeLocationLabel() );
+ m_mostRecentlyReportedLocation = location;
return location;
}
m_liveLocation->setLocation( positionInfo );
}
+Location *GpsControllerPrivate::mostRecentlyReportedLocation()
+{
+ return m_mostRecentlyReportedLocation;
+}