blob: 5c488614d38674beeb5d87fe77b61314dc844b76 (
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
|
#pragma once
#include "coding/reader.hpp"
#include "map_style.hpp"
#include <string>
class StyleReader
{
public:
StyleReader();
void SetCurrentStyle(MapStyle mapStyle);
MapStyle GetCurrentStyle();
ReaderPtr<Reader> GetDrawingRulesReader();
ReaderPtr<Reader> GetResourceReader(std::string const & file, std::string const & density);
ReaderPtr<Reader> GetDefaultResourceReader(std::string const & file);
private:
MapStyle m_mapStyle;
};
extern StyleReader & GetStyleReader();
|