mirror of https://github.com/axmolengine/axmol.git
36 lines
651 B
Plaintext
36 lines
651 B
Plaintext
typedef enum LanguageType
|
|
{
|
|
kLanguageEnglish = 0,
|
|
kLanguageChinese,
|
|
kLanguageFrench,
|
|
kLanguageItalian,
|
|
kLanguageGerman,
|
|
kLanguageSpanish,
|
|
kLanguageRussian,
|
|
kLanguageKorean,
|
|
kLanguageJapanese,
|
|
kLanguageHungarian,
|
|
kLanguagePortuguese,
|
|
kLanguageArabic
|
|
} ccLanguageType;
|
|
|
|
enum TargetPlatform
|
|
{
|
|
kTargetWindows,
|
|
kTargetLinux,
|
|
kTargetMacOS,
|
|
kTargetAndroid,
|
|
kTargetIphone,
|
|
kTargetIpad,
|
|
kTargetBlackBerry,
|
|
};
|
|
|
|
class CCApplication
|
|
{
|
|
~CCApplication();
|
|
|
|
static CCApplication* getInstance();
|
|
ccLanguageType getCurrentLanguage();
|
|
TargetPlatform getTargetPlatform();
|
|
};
|