1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-22 02:42:08 +00:00

Start working on a Downloader app and backing classes in LibGUI.

LibGUI is slowly becoming LibKitchensink but I'm okay with this for now.
This commit is contained in:
Andreas Kling 2019-04-07 14:36:10 +02:00
parent c7365a00f8
commit 8f30657390
21 changed files with 375 additions and 1 deletions

View file

@ -99,5 +99,9 @@ void GObject::dump_tree(int indent)
for (auto* child : children()) {
child->dump_tree(indent + 2);
}
}
void GObject::deferred_invoke(Function<void(GObject&)> invokee)
{
GEventLoop::current().post_event(*this, make<GDeferredInvocationEvent>(move(invokee)));
}