1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 02:13:56 +09:00

Lagom: Add a tiny test program so we can see that something works. :^)

This commit is contained in:
Andreas Kling 2019-07-25 13:50:39 +02:00
parent e4c9235c91
commit 67c8748162
Notes: sideshowbarker 2024-07-19 13:03:46 +09:00
2 changed files with 18 additions and 0 deletions

15
Lagom/TestApp.cpp Normal file
View file

@ -0,0 +1,15 @@
#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();
}