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>2010-12-11 17:47:40 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:08:33 +0300
commited9abd7b505dc4537888c12b29784348c6ed3528 (patch)
treedfde732411dd04c0dfab5e287f2124813409d687 /indexer/feature_visibility.hpp
parent3e8b50b92510c6ff54e23978468e3d963e290ce2 (diff)
[Refactoring]. Divide Feature class to:
- FeatureBase (base feature class) - FeatureGeom (store geometry itself) - FeatureGeomRef (in future, store reference to geometry).
Diffstat (limited to 'indexer/feature_visibility.hpp')
-rw-r--r--indexer/feature_visibility.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indexer/feature_visibility.hpp b/indexer/feature_visibility.hpp
index 00c32ec3e2..eb75d73006 100644
--- a/indexer/feature_visibility.hpp
+++ b/indexer/feature_visibility.hpp
@@ -7,7 +7,7 @@
#include "../std/vector.hpp"
#include "../std/string.hpp"
-class Feature;
+class FeatureBase;
namespace feature
{
@@ -15,9 +15,9 @@ namespace feature
bool IsDrawableAny(uint32_t type);
bool IsDrawableLike(vector<uint32_t> const & type, feature_geo_t ft);
- bool IsDrawableForIndex(Feature const & f, int level);
- uint32_t MinDrawableScaleForFeature(Feature const & f);
+ bool IsDrawableForIndex(FeatureBase const & f, int level);
+ int MinDrawableScaleForFeature(FeatureBase const & f);
- int GetDrawRule(Feature const & f, int level, vector<drule::Key> & keys, string & names);
+ int GetDrawRule(FeatureBase const & f, int level, vector<drule::Key> & keys, string & names);
}