mirror of https://github.com/axmolengine/axmol.git
[Lua] add CCApplication:getTargetPaltform()
This commit is contained in:
parent
a2b468f2b3
commit
8d104b8244
|
@ -1 +1 @@
|
|||
bc9430117558083bc356dc1490ae82621c4db0f3
|
||||
57601a5ee61c442f04b4d1bbfd2697330dfc63cb
|
|
@ -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();
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue