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:
authorvng <viktor.govako@gmail.com>2014-10-01 16:50:36 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:29:13 +0300
commit730f0078ae99993ac440e20bc254ccc2835c90d3 (patch)
treea28acd624e6c6d6b2bd15e912d8a4f2460ccf4c0 /indexer/classificator.hpp
parent937250e21601d8ee5790b622543b3177a8c866a7 (diff)
Removed duplicating enums.
Diffstat (limited to 'indexer/classificator.hpp')
-rw-r--r--indexer/classificator.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indexer/classificator.hpp b/indexer/classificator.hpp
index b30a1f3607..910b5eaa63 100644
--- a/indexer/classificator.hpp
+++ b/indexer/classificator.hpp
@@ -2,6 +2,7 @@
#include "drawing_rule_def.hpp"
#include "types_mapping.hpp"
#include "scales.hpp"
+#include "feature_decl.hpp"
#include "../std/vector.hpp"
#include "../std/string.hpp"
@@ -77,13 +78,12 @@ public:
void ConcatChildNames(string & s) const;
- enum FeatureGeoType { FEATURE_TYPE_POINT = 0, FEATURE_TYPE_LINE, FEATURE_TYPE_AREA };
- void GetSuitable(int scale, FeatureGeoType ft, drule::KeysT & keys) const;
+ void GetSuitable(int scale, feature::EGeomType ft, drule::KeysT & keys) const;
inline vector<drule::Key> const & GetDrawingRules() const { return m_drawRule; }
bool IsDrawable(int scale) const;
bool IsDrawableAny() const;
- bool IsDrawableLike(FeatureGeoType ft) const;
+ bool IsDrawableLike(feature::EGeomType ft) const;
pair<int, int> GetDrawScaleRange() const;