Added error handling to listing of users and showing of user information.
[speedfreak] / Client / gpsdata.h
index f7b40e8..f2e42cc 100644 (file)
@@ -26,6 +26,9 @@ public:
     void stopRouteRecording();
     int roundCounter; //testing, move private!!!
 
+    double getDistanceTraveled();
+    double getDirection();
+
 private:
     Maemo5Location *location;
     void resetAll();
@@ -50,6 +53,7 @@ private:
     double epc;          //Climb accuracy in m/s.
     double latitudePrevious;
     double longitudePrevious;
+    double distance;
     QString routeStartTime;
     QString routeStopTime;
     QString sLatitudeNow;