axmol/tools/tolua++/CCApplication.pkg

34 lines
607 B
Plaintext
Raw Normal View History

2012-02-02 14:26:38 +08:00
typedef enum LanguageType
{
kLanguageEnglish = 0,
kLanguageChinese,
kLanguageFrench,
kLanguageItalian,
kLanguageGerman,
kLanguageSpanish,
2012-11-28 16:53:10 +08:00
kLanguageRussian,
kLanguageKorean,
2012-12-05 18:31:05 +08:00
kLanguageJapanese,
kLanguageHungarian
2012-02-02 14:26:38 +08:00
} ccLanguageType;
enum TargetPlatform
{
kTargetWindows,
kTargetLinux,
kTargetMacOS,
kTargetAndroid,
kTargetIphone,
kTargetIpad,
kTargetBlackBerry,
};
2012-02-02 14:26:38 +08:00
class CCApplication
{
2012-12-02 15:48:15 +08:00
~CCApplication();
static CCApplication* sharedApplication();
ccLanguageType getCurrentLanguage();
TargetPlatform getTargetPlatform();
2012-02-02 14:26:38 +08:00
};