Welcome to mirror list, hosted at ThFree Co, Russian Federation.

map_style_reader.hpp « indexer - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 63ff46a47a5c58166a03e52a32be36255b9b1b46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

#include "coding/reader.hpp"

#include "map_style.hpp"

class StyleReader
{
public:
  StyleReader();

  void SetCurrentStyle(MapStyle mapStyle);
  MapStyle GetCurrentStyle();

  ReaderPtr<Reader> GetDrawingRulesReader();

  ReaderPtr<Reader> GetResourceReader(string const & file, string const & density);

private:
  MapStyle m_mapStyle;
};

extern StyleReader & GetStyleReader();