| 25 | #endif // BUILD_DESIGNER |
| 26 | |
| 27 | std::string GetStyleRulesSuffix(MapStyle mapStyle) |
| 28 | { |
| 29 | #ifdef BUILD_DESIGNER |
| 30 | return "_" + kSuffixDesignTool; |
| 31 | #else |
| 32 | switch (mapStyle) |
| 33 | { |
| 34 | case MapStyleDefaultDark: return kSuffixDefaultDark; |
| 35 | case MapStyleDefaultLight: return kSuffixDefaultLight; |
| 36 | case MapStyleVehicleDark: return kSuffixVehicleDark; |
| 37 | case MapStyleVehicleLight: return kSuffixVehicleLight; |
| 38 | case MapStyleOutdoorsLight: return kSuffixOutdoorsLight; |
| 39 | case MapStyleOutdoorsDark: return kSuffixOutdoorsDark; |
| 40 | case MapStyleMerged: return {}; |
| 41 | |
| 42 | case MapStyleCount: break; |
| 43 | } |
| 44 | LOG(LWARNING, ("Unknown map style", mapStyle)); |
| 45 | return kSuffixDefaultLight; |
| 46 | #endif // BUILD_DESIGNER |
| 47 | } |
| 48 | |
| 49 | std::string GetStyleResourcesSuffix(MapStyle mapStyle) |
| 50 | { |
no outgoing calls
no test coverage detected