23 #ifndef __MYGUI_LANGUAGE_MANAGER_H__
24 #define __MYGUI_LANGUAGE_MANAGER_H__
43 bool load(
const std::string& _file);
48 void setCurrentLanguage(
const std::string& _name);
50 const std::string& getCurrentLanguage();
65 bool loadUserTags(
const std::string& _file);
75 bool loadLanguage(
const std::string& _file,
bool _user =
false);
76 void _loadLanguage(
IDataStream* _stream,
bool _user);
77 void _loadLanguageXML(
IDataStream* _stream,
bool _user);
81 typedef std::map<UString, UString> MapLanguageString;
83 MapLanguageString mMapLanguage;
84 MapLanguageString mUserMapLanguage;
86 std::string mCurrentLanguageName;
89 typedef std::map<std::string, VectorString> MapListString;
90 MapListString mMapFile;
96 #endif // __MYGUI_LANGUAGE_MANAGER_H__