blob: 09bb5e2a59e8db0c7395d91e2dd987e400df6fb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#include "gui/init.hpp"
#include "main-window.hpp"
#if defined _WIN32
# include <windows.h>
#endif
#if defined Q_CREATOR_RUN
# pragma GCC diagnostic ignored "-Wmain"
#endif
int main(int argc, char** argv)
{
return run_application(argc, argv, [] { return new main_window; });
}
#if defined _MSC_VER
int CALLBACK WinMain(HINSTANCE, HINSTANCE, LPSTR, int /* nCmdShow */)
{
return main(__argc, __argv);
}
#endif
|