mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:37:44 +00:00
LibCore: Add a hook for custom construction of EventLoopImplementation
This commit is contained in:
parent
16c47ccff6
commit
31289a8d57
3 changed files with 7 additions and 1 deletions
|
@ -93,6 +93,8 @@ public:
|
|||
|
||||
static EventLoop& current();
|
||||
|
||||
static Function<NonnullOwnPtr<EventLoopImplementation>()> make_implementation;
|
||||
|
||||
private:
|
||||
void wait_for_event(WaitMode);
|
||||
Optional<Time> get_next_timer_expiration();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue