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:
Diffstat (limited to 'platform/mwm_traits.hpp')
-rw-r--r--platform/mwm_traits.hpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/platform/mwm_traits.hpp b/platform/mwm_traits.hpp
index 2c0a1c9c08..3b74ebdb78 100644
--- a/platform/mwm_traits.hpp
+++ b/platform/mwm_traits.hpp
@@ -38,7 +38,7 @@ public:
Unknown
};
- MwmTraits(version::Format versionFormat);
+ MwmTraits(MwmVersion const & version);
SearchIndexFormat GetSearchIndexFormat() const;
@@ -46,8 +46,12 @@ public:
bool HasOffsetsTable() const;
+ // The new routing section with IndexGraph was added in december 2016.
+ // Check whether mwm has routing index section.
+ bool HasRoutingIndex() const;
+
private:
- version::Format m_versionFormat;
+ MwmVersion m_version;
};
string DebugPrint(MwmTraits::SearchIndexFormat format);