Files
FocusIME/Redcraft.FocusIME/Source/Private/Main.cpp
2025-06-21 19:08:54 +08:00

32 lines
577 B
C++

#include <windows.h>
#include <iostream>
#include <thread>
#include <chrono>
#pragma warning(disable: 4996)
// ReSharper disable CppDeprecatedEntity
// ReSharper disable CppClangTidyCertErr33C
int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
using namespace std::chrono_literals;
AllocConsole();
freopen("CONOUT$", "w", stdout);
SetConsoleTitle("FocusIME");
std::cout << "Hello, FocusIME!" << std::endl;
std::this_thread::sleep_for(3s);
FreeConsole();
return 0;
}
// ReSharper restore CppDeprecatedEntity
// ReSharper restore CppClangTidyCertErr33C