axmol/tests/proj.qnx/main.cpp

16 lines
259 B
C++

#include "cocos2d.h"
#include "AppDelegate.h"
USING_NS_CC;
int main(int argc, char **argv)
{
AppDelegate* app;
int ret = 0;
app = new AppDelegate();
ret = cocos2d::CCApplication::sharedApplication().run();
delete app;
return ret;
}