]> git.tdb.fi Git - libs/core.git/blob - source/core/main.cpp
Drop copyright and license notices from source files
[libs/core.git] / source / core / main.cpp
1 #ifdef WIN32
2 #include <windows.h>
3 #endif
4
5 #include "application.h"
6
7 #ifdef WIN32
8 int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE /*hPrevInstance*/, LPSTR /*lpCmdLine*/, int /*nCmdShow*/)
9
10         int argc        = 0;
11         LPWSTR *argv = CommandLineToArgvW(GetCommandLineW(), &argc);
12         return Msp::Application::run(argc, (char **)argv, hInstance);
13 }
14 #endif
15
16 int main(int argc, char **argv)
17 { return Msp::Application::run(argc, argv); }