aboutsummaryrefslogtreecommitdiff
path: root/common/util.h
diff options
context:
space:
mode:
authorJohannes Schickel2010-11-28 02:12:53 +0000
committerJohannes Schickel2010-11-28 02:12:53 +0000
commit284b49aabc54590e1444f06561a815c2a3c5de7e (patch)
tree3dcc14862999ed001306e378221cfddaabfded72 /common/util.h
parent1ad63b431ee031c0d4bb6d520d70103a60459d55 (diff)
downloadscummvm-rg350-284b49aabc54590e1444f06561a815c2a3c5de7e.tar.gz
scummvm-rg350-284b49aabc54590e1444f06561a815c2a3c5de7e.tar.bz2
scummvm-rg350-284b49aabc54590e1444f06561a815c2a3c5de7e.zip
COMMON: Comment out locale <-> Common::Language conversion utils for now.
svn-id: r54517
Diffstat (limited to 'common/util.h')
-rw-r--r--common/util.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/common/util.h b/common/util.h
index fae4975a9b..b3dd6a4f64 100644
--- a/common/util.h
+++ b/common/util.h
@@ -133,7 +133,7 @@ enum Language {
struct LanguageDescription {
const char *code;
- const char *unixLocale;
+ //const char *unixLocale;
const char *description;
Common::Language id;
};
@@ -143,11 +143,13 @@ extern const LanguageDescription g_languages[];
/** Convert a string containing a language name into a Language enum value. */
extern Language parseLanguage(const String &str);
-extern Language parseLanguageFromLocale(const char *locale);
extern const char *getLanguageCode(Language id);
-extern const char *getLanguageLocale(Language id);
extern const char *getLanguageDescription(Language id);
+// locale <-> Language conversion is disabled, since it is not used currently
+/*extern const char *getLanguageLocale(Language id);
+extern Language parseLanguageFromLocale(const char *locale);*/
+
/**
* List of game platforms. Specifying a platform for a target can be used to
* give the game engines a hint for which platform the game data file are.