Changes: removed locations singleton.
[ptas] / zouba / src / gpscontroller.h
index 336d85c..438b3f8 100644 (file)
@@ -3,6 +3,8 @@
 
 #include "location.h"
 
+#include "gpscontroller_p.h"
+
 #include <QObject>
 #include <QGeoPositionInfo>
 #include <QGeoPositionInfoSource>
@@ -15,19 +17,20 @@ class GpsController : public QObject
 
 public:
   GpsController();
+  GpsController( GpsControllerPrivate *gpsControllerPrivate );
 
   ~GpsController();
 
 public Q_SLOTS:
-  void updateLocation( QGeoPositionInfo positionInfo );
   void getGps();
+  void useFakeGps( const QString &fakeLocationLabel );
+  void useLiveGps();
 
 Q_SIGNALS:
   void locationChanged( Location *newLocation );
 
 private:
-  QGeoPositionInfoSource *m_location;
-  Location *currentLocation;
+    GpsControllerPrivate *q;
 };
 
 #endif // GPSCONTROLLER_H