axmol/tools/tolua++/CCApplication.pkg

30 lines
517 B
Plaintext

typedef enum LanguageType
{
kLanguageEnglish = 0,
kLanguageChinese,
kLanguageFrench,
kLanguageItalian,
kLanguageGerman,
kLanguageSpanish,
kLanguageRussian
} ccLanguageType;
enum TargetPlatform
{
kTargetWindows,
kTargetLinux,
kTargetMacOS,
kTargetAndroid,
kTargetIphone,
kTargetIpad,
kTargetBlackBerry,
};
class CCApplication
{
static CCApplication* sharedApplication();
ccLanguageType getCurrentLanguage();
TargetPlatform getTargetPlatform();
};