blob: 498f370d1eed87721bafee32a325c0ea54adc10c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#pragma once
#include "coding/reader.hpp"
#include "map_style.hpp"
#include <string>
class StyleReader
{
public:
StyleReader();
void SetCurrentStyle(MapStyle mapStyle);
MapStyle GetCurrentStyle() const;
bool IsCarNavigationStyle() const;
ReaderPtr<Reader> GetDrawingRulesReader() const;
ReaderPtr<Reader> GetResourceReader(std::string const & file, std::string const & density) const;
ReaderPtr<Reader> GetDefaultResourceReader(std::string const & file) const;
private:
MapStyle m_mapStyle;
};
extern StyleReader & GetStyleReader();
|