axmol/tools/simulator/frameworks/runtime-src/proj.win32/main.cpp

17 lines
380 B
C++
Raw Normal View History

2015-05-14 14:11:40 +08:00
#include "main.h"
#include "SimulatorWin.h"
#include <shellapi.h>
int APIENTRY _tWinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
UNREFERENCED_PARAMETER(hPrevInstance);
UNREFERENCED_PARAMETER(lpCmdLine);
auto simulator = SimulatorWin::getInstance();
int ret = simulator->run();
delete simulator;
return ret;
2015-05-14 14:11:40 +08:00
}