I18N L10N - Sequence
- Sequence object localized. - StringTable changed to inherit from std::map. - StringTable copy constructor, assignment operator removed. - Various source files tagged for further l10n work.
This commit is contained in:
@@ -30,19 +30,14 @@
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
class StringTable
|
||||
class StringTable : public std::map <int, std::string>
|
||||
{
|
||||
public:
|
||||
StringTable (); // Default constructor
|
||||
StringTable (const StringTable&); // Copy constructor
|
||||
StringTable& operator= (const StringTable&); // Assignment operator
|
||||
~StringTable (); // Destructor
|
||||
|
||||
void load (const std::string&);
|
||||
std::string get (int, const std::string&);
|
||||
|
||||
private:
|
||||
std::map <int, std::string> mMapping;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user