Re-factored the source to use the new coordinate classes
[situare] / src / engine / engine.h
index 9abeab1..a347bb5 100644 (file)
@@ -28,7 +28,8 @@
 
 #include <QObject>
 #include <QTime>
-#include <QPointF>
+
+#include "coordinates/geocoordinate.h"
 
 #ifdef Q_WS_MAEMO_5
 class Application;
@@ -238,16 +239,13 @@ private slots:
     *
     * @param position geo coordinates
     */
-    void requestAutomaticUpdateIfMoved(QPointF position);
+    void requestAutomaticUpdateIfMoved(GeoCoordinate position);
 
     /**
      * @brief Sets zoom level to default when first GPS location is received if autocentering
      * is enabled.
-     *
-     * @param latLonCoordinate own location
-     * @param accuracy accuracy of GPS location
      */
-    void setFirstStartZoomLevel(QPointF latLonCoordinate, qreal accuracy);
+    void setFirstStartZoomLevel();
 
     /**
     * @brief Automatic update interval timer timeout.
@@ -315,7 +313,7 @@ private:
     MCE *m_mce;                        ///< Instance of the MCE
 
     QTimer *m_automaticUpdateIntervalTimer; ///< Automatic update interval timer
-    QPointF m_lastUpdatedGPSPosition;       ///< Last updated GPS position
+    GeoCoordinate m_lastUpdatedGPSPosition; ///< Last updated GPS position
 
 };