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:
parent
a0d5724a58
commit
829186af7d
4 changed files with 9 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue