// Copyright (c) 2013 CEF Python, see the Authors file.
// All rights reserved. Licensed under BSD 3-clause license.
// Project website: https://github.com/cztomczak/cefpython
#include "cefpython_app.h"
#if defined(OS_WIN)
#include
int APIENTRY wWinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
UNREFERENCED_PARAMETER(hPrevInstance);
UNREFERENCED_PARAMETER(lpCmdLine);
CefMainArgs mainArgs(hInstance);
#else // defined(OS_WIN)
int main(int argc, char **argv)
{
CefMainArgs mainArgs(argc, argv);
#endif // Mac, Linux
CefRefPtr app(new CefPythonApp);
int exitCode = CefExecuteProcess(mainArgs, app.get(), NULL);
return exitCode;
}