上传项目代码

This commit is contained in:
lixiaoyuan
2025-05-19 09:54:33 +08:00
commit 4a198a7271
589 changed files with 993786 additions and 0 deletions

21
src/app/Application.cpp Normal file
View File

@@ -0,0 +1,21 @@
#include "Application.h"
#include "common/Utils.h"
void Application::init()
{
std::thread([=]()
{
while (!isQuit()) { runThreadMain(); }
}).detach();
}
void Application::runThreadMain()
{
static TimeTick tt;
tt.elapse(1000);
//XLOGD() << "HelloWorld";
std::this_thread::sleep_for(std::chrono::milliseconds(1));
}