Changed gpscontroller to just record the most recent gps coords, and give those when...
[ptas] / zouba / gpscontroller.h
index 615a5fa..336d85c 100644 (file)
@@ -18,18 +18,16 @@ public:
 
   ~GpsController();
 
-  void stopGps();
-
 public Q_SLOTS:
   void updateLocation( QGeoPositionInfo positionInfo );
-  void startGps();
+  void getGps();
 
 Q_SIGNALS:
-  void locationChanged( const Location &newLocation );
+  void locationChanged( Location *newLocation );
 
 private:
   QGeoPositionInfoSource *m_location;
-  bool updatesEnabled;
+  Location *currentLocation;
 };
 
 #endif // GPSCONTROLLER_H