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:
authorConstantin Shalnev <c.shalnev@corp.mail.ru>2015-10-15 17:11:10 +0300
committerConstantin Shalnev <c.shalnev@corp.mail.ru>2015-10-16 10:26:43 +0300
commit545f584efc23ba8a54b88a023ee9690281e5506a (patch)
tree681391468b2e41bf21968a58ed0f3dd73cd6e7e3 /indexer/map_style.hpp
parent7c40f044a5340a14b0f7c1ca3a4dff54f004d9b5 (diff)
Uses limitation values for EDensity and for MapStyle enums
Diffstat (limited to 'indexer/map_style.hpp')
-rw-r--r--indexer/map_style.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/indexer/map_style.hpp b/indexer/map_style.hpp
index 98d224b05c..750a0362df 100644
--- a/indexer/map_style.hpp
+++ b/indexer/map_style.hpp
@@ -4,10 +4,13 @@
enum MapStyle
{
- MapStyleLight = 0,
+ MapStyleLight = 0, //< The first must be 0
MapStyleDark = 1,
- MapStyleClear = 2
+ MapStyleClear = 2,
// Add new map style here
+
+ // Specifies number of MapStyle enum values, must be last
+ MapStyleCount
};
string DebugPrint(MapStyle mapStyle);