2016-05-03 11:02:22 +08:00
|
|
|
#include "AppDelegate.h"
|
2016-04-28 09:49:55 +08:00
|
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <string>
|
|
|
|
#include <app.h>
|
|
|
|
|
|
|
|
USING_NS_CC;
|
|
|
|
|
|
|
|
int main(int argc, char **argv)
|
|
|
|
{
|
|
|
|
// create the application instance
|
|
|
|
AppDelegate app;
|
2016-05-03 11:02:22 +08:00
|
|
|
#ifdef TIZEN
|
|
|
|
Application::getInstance()->setMainArgs(argc, argv);//For Tizen 2.4, we need these two arguments.
|
|
|
|
#endif
|
2016-04-28 09:49:55 +08:00
|
|
|
Application::getInstance()->setDeviceOrientation(APP_DEVICE_ORIENTATION_90);
|
|
|
|
return Application::getInstance()->run();
|
|
|
|
}
|