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 <alex@maps.me>2016-01-16 20:05:06 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:14:12 +0300
commitdaef6c4a39a646f8326169502147956aab4a32e8 (patch)
tree372dcb8d218f75d5341b4d5e7162813229b9ce18 /indexer/index.hpp
parent199189a68b4d78cb0d21cd6c1c884651165f8a2b (diff)
[editor] Avoid unmodified features loading loop.
Diffstat (limited to 'indexer/index.hpp')
-rw-r--r--indexer/index.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indexer/index.hpp b/indexer/index.hpp
index 08b1c9474f..23418655aa 100644
--- a/indexer/index.hpp
+++ b/indexer/index.hpp
@@ -284,7 +284,10 @@ public:
inline MwmSet::MwmId const & GetId() const { return m_handle.GetId(); }
string GetCountryFileName() const;
bool IsWorld() const;
+ /// Everyone, except Editor core, should use this method.
void GetFeatureByIndex(uint32_t index, FeatureType & ft) const;
+ /// Editor core only method, to get 'untouched', original version of feature.
+ void GetNotEditedFeatureByIndex(uint32_t index, FeatureType & ft) const;
inline FeaturesVector const & GetFeaturesVector() const { return m_vector; }
private: