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

cuisines.hpp « indexer - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 288fe271ad7a9083b169b92d38850b8f0eea09aa (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
#pragma once

#include <string>
#include <utility>
#include <vector>

namespace osm
{
using AllCuisines = std::vector<std::pair<std::string, std::string>>;

// This class IS thread-safe.
class Cuisines
{
public:
  static Cuisines const & Instance();

  std::string const & Translate(std::string const & singleCuisine) const;
  AllCuisines const & AllSupportedCuisines() const;

private:
  Cuisines();
  AllCuisines m_allCuisines;
};
}  // namespace osm