Created new class GpsLocation that handles communication with gps. It
[ptas] / zouba / src / logic / locations.h
index 0ed119c..909c7a2 100644 (file)
@@ -2,6 +2,7 @@
 #define LOCATIONS_H
 
 #include "location.h"
+#include "gpslocation.h"
 
 #include <QHash>
 #include <QList>
@@ -24,7 +25,7 @@ public:
 
     Location *getLocation(const QString &label) const;
     Location *getLocation(const int&) const;
-    Location *getGpsLocation() const;
+    GpsLocation *getGpsLocation() const;
     int size() const;
 
     //const QHash<QString, Location *>& getLocations() const;
@@ -45,7 +46,7 @@ private:
 
     QHash<QString, Location*> m_locationStorage;
     QList<QString> m_indexStorage;
-    Location* m_gpsLocation;
+    GpsLocation* m_gpsLocation;
 
     static Locations *m_instance;
 };