diff options
Diffstat (limited to 'trackmouse/main.cpp')
-rw-r--r-- | trackmouse/main.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/trackmouse/main.cpp b/trackmouse/main.cpp new file mode 100644 index 00000000..2313e1ac --- /dev/null +++ b/trackmouse/main.cpp @@ -0,0 +1,18 @@ +#include "gui/init.hpp" +#include "window.hpp" + +#if defined _WIN32 +# include <windows.h> +#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 |