diff options
author | vng <viktor.govako@gmail.com> | 2012-06-06 05:58:15 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:39:30 +0300 |
commit | c66c90971058697ad1cc7026fcc932387f0fcc7e (patch) | |
tree | 26e417034b03bde7374d2a98e746aa95eb1bcc2a /base | |
parent | 74a22a60ada2362bc76d7053b52a80346b8590e5 (diff) |
Fix StringBundle routine - remove unnecessary stuff.
Diffstat (limited to 'base')
-rw-r--r-- | base/strings_bundle.cpp | 6 | ||||
-rw-r--r-- | base/strings_bundle.hpp | 8 |
2 files changed, 2 insertions, 12 deletions
diff --git a/base/strings_bundle.cpp b/base/strings_bundle.cpp index 1706853658..72243a4592 100644 --- a/base/strings_bundle.cpp +++ b/base/strings_bundle.cpp @@ -1,5 +1,6 @@ #include "strings_bundle.hpp" + void StringsBundle::SetDefaultString(string const & name, string const & value) { m_defValues[name] = value; @@ -23,8 +24,3 @@ string const StringsBundle::GetString(string const & name) const } return ""; } - -string const FormatString(char const * msg, ...) -{ - return ""; -} diff --git a/base/strings_bundle.hpp b/base/strings_bundle.hpp index fa864e4fef..b2d8ea0b90 100644 --- a/base/strings_bundle.hpp +++ b/base/strings_bundle.hpp @@ -3,21 +3,15 @@ #include "../std/string.hpp" #include "../std/map.hpp" + class StringsBundle { -private: - 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; }; - -string const & FormatString(string const & msg); - - |