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:
authorr.kuznetsov <r.kuznetsov@corp.mail.ru>2017-05-30 12:02:20 +0300
committerIlya Zverev <ilya@zverev.info>2017-07-04 11:26:12 +0300
commit1fafff5b00b81e89056bc754589c2f3bc3a6aacd (patch)
tree7ec2809ea4feaf6b98a07b8a03672b7d9e6ed1ec /indexer/map_style_reader.cpp
parentaccc48d7b86be276efa07c2a7ee33bd72e66cd56 (diff)
Added possibility to run from IDE
Diffstat (limited to 'indexer/map_style_reader.cpp')
-rw-r--r--indexer/map_style_reader.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/indexer/map_style_reader.cpp b/indexer/map_style_reader.cpp
index df9db9fb2a..d9f0889ab5 100644
--- a/indexer/map_style_reader.cpp
+++ b/indexer/map_style_reader.cpp
@@ -15,10 +15,14 @@ std::string const kSuffixVehicleClear = "_vehicle_clear";
std::string const kStylesOverrideDir = "styles";
+#ifdef BUILD_DESIGNER
+std::string const kSuffixDesignTool = "_design";
+#endif // BUILD_DESIGNER
+
std::string GetStyleRulesSuffix(MapStyle mapStyle)
{
#ifdef BUILD_DESIGNER
- return string();
+ return kSuffixDesignTool;
#else
switch (mapStyle)
{
@@ -44,7 +48,7 @@ std::string GetStyleRulesSuffix(MapStyle mapStyle)
std::string GetStyleResourcesSuffix(MapStyle mapStyle)
{
#ifdef BUILD_DESIGNER
- return string();
+ return kSuffixDesignTool;
#else
// We use the same resources for default and vehicle styles
// to avoid textures duplication and package size increasing.