mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 13:23:59 +00:00
committed by
Konstantin Pastbin
parent
c9cbb64f12
commit
76ffc99abd
16
libs/base/strings_bundle.hpp
Normal file
16
libs/base/strings_bundle.hpp
Normal file
@@ -0,0 +1,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;
|
||||
};
|
||||
Reference in New Issue
Block a user