axmol/tools/tolua++/CCApplication.pkg

31 lines
539 B
Plaintext
Raw Normal View History

2012-02-02 14:26:38 +08:00
typedef enum LanguageType
{
kLanguageEnglish = 0,
kLanguageChinese,
kLanguageFrench,
kLanguageItalian,
kLanguageGerman,
kLanguageSpanish,
kLanguageRussian
} 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
};