1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-03 10:58:15 +00:00
serenity/Lagom/TestApp.cpp

15 lines
276 B
C++

#include <LibCore/CEventLoop.h>
#include <LibCore/CTimer.h>
#include <stdio.h>
int main(int, char**)
{
CEventLoop event_loop;
CTimer timer(100, [&] {
dbg() << "Timer fired, good-bye! :^)";
event_loop.quit(0);
});
return event_loop.exec();
}