|
|
@ -77,7 +77,7 @@ public: |
|
|
|
protected: |
|
|
|
protected: |
|
|
|
static Language fLanguage; |
|
|
|
static Language fLanguage; |
|
|
|
static const char* fLangTags[kNumLanguages]; |
|
|
|
static const char* fLangTags[kNumLanguages]; |
|
|
|
#if defined(_MSC_VER) && (_MSC_VER >= 1800) |
|
|
|
#if defined(_MSC_VER) && (_MSC_VER >= 1600) |
|
|
|
static const std::set<std::string> fLangCodes[kNumLanguages]; |
|
|
|
static const std::set<std::string> fLangCodes[kNumLanguages]; |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
static const char* fLangNames[kNumLanguages]; |
|
|
|
static const char* fLangNames[kNumLanguages]; |
|
|
@ -94,7 +94,9 @@ public: |
|
|
|
static Language GetLanguage() { return fLanguage; } |
|
|
|
static Language GetLanguage() { return fLanguage; } |
|
|
|
|
|
|
|
|
|
|
|
static const char* GetLanguageName(Language lang) { return fLangNames[lang]; } |
|
|
|
static const char* GetLanguageName(Language lang) { return fLangNames[lang]; } |
|
|
|
|
|
|
|
#if defined(_MSC_VER) && _MSC_VER >= 1600 |
|
|
|
static std::set<std::string> GetLanguageCodes(Language lang) { return fLangCodes[lang]; } |
|
|
|
static std::set<std::string> GetLanguageCodes(Language lang) { return fLangCodes[lang]; } |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
static hsBool UsingUnicode() { return fUsesUnicode[fLanguage]; } |
|
|
|
static hsBool UsingUnicode() { return fUsesUnicode[fLanguage]; } |
|
|
|
static encodingTypes UnicodeEncoding() { return fUnicodeEncoding[fLanguage]; } |
|
|
|
static encodingTypes UnicodeEncoding() { return fUnicodeEncoding[fLanguage]; } |
|
|
|