[Lua] add CCApplication:getTargetPaltform()

This commit is contained in:
dualface 2012-09-25 16:43:36 +08:00
parent a2b468f2b3
commit 8d104b8244
2 changed files with 13 additions and 1 deletions

View File

@ -1 +1 @@
bc9430117558083bc356dc1490ae82621c4db0f3
57601a5ee61c442f04b4d1bbfd2697330dfc63cb

View File

@ -10,8 +10,20 @@ typedef enum LanguageType
kLanguageRussian
} ccLanguageType;
enum TargetPlatform
{
kTargetWindows,
kTargetLinux,
kTargetMacOS,
kTargetAndroid,
kTargetIphone,
kTargetIpad,
kTargetBlackBerry,
};
class CCApplication
{
static CCApplication* sharedApplication();
ccLanguageType getCurrentLanguage();
TargetPlatform getTargetPlatform();
};