Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Shalnev <c.shalnev@corp.mail.ru>2015-12-01 12:58:20 +0300
committerConstantin Shalnev <c.shalnev@corp.mail.ru>2016-01-13 15:54:00 +0300
commit42ec15731a798cd3d7312f63b0ba4866b2ef4d25 (patch)
treed80fd26024098dfc8ed2d9b2b50fa16f08fba2b5 /platform/location.hpp
parent34851ece035e2db406996484e23d71f8c07fc243 (diff)
Added GpsTrackInfo
Diffstat (limited to 'platform/location.hpp')
-rw-r--r--platform/location.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/platform/location.hpp b/platform/location.hpp
index c9a0c6ff69..94ffb16015 100644
--- a/platform/location.hpp
+++ b/platform/location.hpp
@@ -61,6 +61,16 @@ namespace location
bool HasSpeed() const { return m_speed >= 0.0; }
};
+ /// GpsTrackInfo struct describes a point for GPS tracking
+ /// It is similar to the GpsInfo but contains only needed fields.
+ struct GpsTrackInfo
+ {
+ double m_timestamp; //!< seconds from 1st Jan 1970
+ double m_latitude; //!< degrees
+ double m_longitude; //!< degrees
+ double m_speed; //!< meters per second
+ };
+
class CompassInfo
{
public: