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:
authorIlya Zverev <zverik@textual.ru>2016-07-15 18:01:19 +0300
committerIlya Zverev <zverik@textual.ru>2016-07-19 12:53:21 +0300
commit46a5d58ba1fe3b274df149214fe1bbc7bb97b6e1 (patch)
tree3d9baa51399d40e78102e3e1c7a6add4573c0059 /indexer/mwm_set.hpp
parent989c84e7bb93994a02ba482e83e8ec3a90ff91fa (diff)
[generator] Add region info section to mwms
Diffstat (limited to 'indexer/mwm_set.hpp')
-rw-r--r--indexer/mwm_set.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indexer/mwm_set.hpp b/indexer/mwm_set.hpp
index c924f5dd97..9a334316e2 100644
--- a/indexer/mwm_set.hpp
+++ b/indexer/mwm_set.hpp
@@ -8,6 +8,8 @@
#include "base/macros.hpp"
+#include "indexer/feature_meta.hpp"
+
#include "std/atomic.hpp"
#include "std/deque.hpp"
#include "std/map.hpp"
@@ -66,6 +68,8 @@ public:
MwmTypeT GetType() const;
+ inline feature::RegionData const & GetRegionData() const { return m_data; }
+
/// Returns the lock counter value for test needs.
uint8_t GetNumRefs() const { return m_numRefs; }
@@ -77,6 +81,8 @@ protected:
return result;
}
+ feature::RegionData m_data;
+
platform::LocalCountryFile m_file; ///< Path to the mwm file.
atomic<Status> m_status; ///< Current country status.
uint32_t m_numRefs; ///< Number of active handles.