1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:37:35 +00:00

LibWeb+WebContent: Add EventLoopPlugin::quit() virtual

This allows you to customize breaking out of the system event loop.
This commit is contained in:
Andreas Kling 2022-10-08 10:54:52 +02:00
parent a0d5724a58
commit 829186af7d
4 changed files with 9 additions and 1 deletions

View file

@ -21,6 +21,7 @@ public:
virtual void spin_until(Function<bool()> goal_condition) = 0;
virtual void deferred_invoke(Function<void()>) = 0;
virtual NonnullRefPtr<Timer> create_timer() = 0;
virtual void quit() = 0;
};
}