7 #ifndef __MYGUI_LANGUAGE_MANAGER_H__
8 #define __MYGUI_LANGUAGE_MANAGER_H__
31 void setCurrentLanguage(
const std::string& _name);
33 const std::string& getCurrentLanguage()
const;
49 bool loadUserTags(
const std::string& _file);
68 bool loadLanguage(
const std::string& _file,
bool _user =
false);
69 void _loadLanguage(
IDataStream* _stream,
bool _user);
70 void _loadLanguageXML(
IDataStream* _stream,
bool _user);
72 UString replaceTagsPass(
const UString& _line,
bool& _replaceResult);
75 typedef std::map<UString, UString> MapLanguageString;
77 MapLanguageString mMapLanguage;
78 MapLanguageString mUserMapLanguage;
80 std::string mCurrentLanguageName;
82 typedef std::map<std::string, VectorString> MapListString;
83 MapListString mMapFile;
86 std::string mXmlLanguageTagName;
91 #endif // __MYGUI_LANGUAGE_MANAGER_H__