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: 5fc90eca0463291920195dd8de70acc5c17083c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include "std/string.hpp"
#include "std/map.hpp"


class StringsBundle
{
  typedef map<string, string> TStringMap;
  TStringMap m_values;
  TStringMap m_defValues;

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