Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
24
libs/indexer/cuisines.hpp
Normal file
24
libs/indexer/cuisines.hpp
Normal file
|
|
@ -0,0 +1,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
|
||||
Loading…
Add table
Add a link
Reference in a new issue