diff options
author | Constantin Shalnev <c.shalnev@corp.mail.ru> | 2015-12-01 12:58:20 +0300 |
---|---|---|
committer | Constantin Shalnev <c.shalnev@corp.mail.ru> | 2016-01-13 15:54:00 +0300 |
commit | 42ec15731a798cd3d7312f63b0ba4866b2ef4d25 (patch) | |
tree | d80fd26024098dfc8ed2d9b2b50fa16f08fba2b5 /platform/location.hpp | |
parent | 34851ece035e2db406996484e23d71f8c07fc243 (diff) |
Added GpsTrackInfo
Diffstat (limited to 'platform/location.hpp')
-rw-r--r-- | platform/location.hpp | 10 |
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: |