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:
authorAlex Zolotarev <deathbaba@gmail.com>2011-04-25 07:05:07 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:16:25 +0300
commit0f5d7d5084b60c151ff0a2b8e28d175ddd2efb80 (patch)
tree9e4c5df64c82366a96e4b46e4990072a4f6ec459 /platform/location.hpp
parentc2e6ae1ed353d60023eb2e3ac0c4c702317cd353 (diff)
Fixed warning
Diffstat (limited to 'platform/location.hpp')
-rw-r--r--platform/location.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/platform/location.hpp b/platform/location.hpp
index bf7325ab7c..45a38bcde7 100644
--- a/platform/location.hpp
+++ b/platform/location.hpp
@@ -19,8 +19,9 @@ namespace location
};
/// @note always check m_status before using this structure
- struct GpsInfo
+ class GpsInfo
{
+ public:
TLocationStatus m_status;
double m_timestamp; //!< how many seconds ago the position was retrieved
double m_latitude; //!< degrees
@@ -33,8 +34,9 @@ namespace location
};
/// @note always check m_status before using this structure
- struct CompassInfo
+ class CompassInfo
{
+ public:
double m_timestamp; //!< how many seconds ago the heading was retrieved
double m_magneticHeading; //!< positive degrees from the magnetic North
double m_trueHeading; //!< positive degrees from the true North