Added GeoPositionInfo and LiblocationWrapper classes.
[situare] / src / gps / gpscommon.h
index a7380cc..40b54da 100644 (file)
 #ifndef GPSCOMMON_H
 #define GPSCOMMON_H
 
+#include <QObject>
+
 const int GPS_ACCURACY_UNDEFINED = -1; ///< Value used when accuracy is undefined
 
+const qreal MAX_LATITUDE = 85.05112877980659237802;  ///< Maximum latitude value
+const qreal MIN_LATITUDE = -MAX_LATITUDE; ///< Minimum latitude value
+const qreal MIN_LONGITUDE = -180.0;  ///< Minimum longitude value
+const qreal MAX_LONGITUDE = 180.0;  ///< Maximum longitude value
+
 #endif // GPSCOMMON_H