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

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

#include "storage/storage.hpp"

#include <memory>
#include <string>

namespace storage
{
class CountryParentGetter
{
public:
  CountryParentGetter(std::string const & countriesFile = "",
                      std::string const & countriesDir = "");
  std::string operator()(std::string const & id) const;

private:
  shared_ptr<Storage> m_storage;
};
}  // namespace storage