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

strings_bundle.hpp « base - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 53e44ef96522e3c659f8950deb2b35d6fa2f02de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <map>
#include <string>

class StringsBundle
{
  using TStringMap = std::map<std::string, std::string>;
  TStringMap m_values;
  TStringMap m_defValues;

public:
  void SetDefaultString(std::string const & name, std::string const & value);
  void SetString(std::string const & name, std::string const & value);
  std::string const GetString(std::string const & name) const;
};