mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 03:28:13 +00:00
Lagom: Move this into Meta/
This is more of a meta thing, since it's not seeing active development, but is just a way for me to build some Serenity parts and include them in other projects. Move it out of the root to keep things tidy.
This commit is contained in:
parent
618aebdd8a
commit
dcd10149fe
7 changed files with 0 additions and 0 deletions
15
Meta/Lagom/TestApp.cpp
Normal file
15
Meta/Lagom/TestApp.cpp
Normal file
|
@ -0,0 +1,15 @@
|
|||
#include <LibCore/CEventLoop.h>
|
||||
#include <LibCore/CTimer.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int main(int, char**)
|
||||
{
|
||||
CEventLoop event_loop;
|
||||
|
||||
auto timer = CTimer::construct(100, [&] {
|
||||
dbg() << "Timer fired, good-bye! :^)";
|
||||
event_loop.quit(0);
|
||||
});
|
||||
|
||||
return event_loop.exec();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue