Re-factored the source to use the new coordinate classes
[situare] / src / gps / gpspositionprivatestub.h
index 7207efc..60cf2ef 100644 (file)
 
 #include "gpsposition.h"
 
-class QPointF;
 class QString;
 
+class GeoCoordinate;
+
 /**
 * @brief GPSPositionPrivate class does nothing.
 *
@@ -56,7 +57,7 @@ public:
     * RETURNS FALSE
     * @return true if initialized, false otherwise
     */
-    bool isInitialized();
+    bool isInitialized() const;
 
     /**
     * @brief Checks if GPS is running.
@@ -64,12 +65,12 @@ public:
     * RETURNS FALSE.
     * @return true if GPS running, false otherwise
     */
-    bool isRunning();
+    bool isRunning() const;
 
     /**
     * @brief Return last known position.
     */
-    QPointF lastPosition();
+    GeoCoordinate lastPosition() const;
 
     /**
     * @brief Informs gps to emit last known position.