Changes: Changed the route table to a layout of buttons and tamed the layouts a bit.
[ptas] / zouba / src / gpscontroller_p.cpp
index ff60837..537d10a 100644 (file)
@@ -1,6 +1,7 @@
 #include "gpscontroller_p.h"
 
 #include "location.h"
+#include "locations.h"
 
 #include <QObject>
 #include <QGeoPositionInfo>
@@ -59,6 +60,13 @@ Location *GpsControllerPrivate::liveLocation()
   return m_liveLocation;
 }
 
+Location *GpsControllerPrivate::fakeLocation()
+{
+  Locations *locations = Locations::instance();
+  Location  *location = locations->location( fakeLocationLabel() );
+  return location;
+}
+
 QString GpsControllerPrivate::fakeLocationLabel()
 {
   return m_fakeLocationLabel;