diff options
Diffstat (limited to 'variant/trackmouse/main.cpp')
-rw-r--r-- | variant/trackmouse/main.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/variant/trackmouse/main.cpp b/variant/trackmouse/main.cpp new file mode 100644 index 00000000..0128683e --- /dev/null +++ b/variant/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 window; }); +} + +#if defined _MSC_VER +int CALLBACK WinMain(HINSTANCE, HINSTANCE, LPSTR, int /* nCmdShow */) +{ + return main(__argc, __argv); +} +#endif |