1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 18:10:56 +09:00

Kernel: Make TimerQueue use AK::Time in interface

This commit is contained in:
Ben Wiederhake 2021-02-28 01:36:34 +01:00 committed by Andreas Kling
parent 2b6546c40a
commit 91c72faa3c
Notes: sideshowbarker 2024-07-18 21:47:45 +09:00
2 changed files with 5 additions and 5 deletions

View file

@ -93,7 +93,7 @@ public:
TimerId add_timer(NonnullRefPtr<Timer>&&);
RefPtr<Timer> add_timer_without_id(clockid_t, const Time&, Function<void()>&&);
TimerId add_timer(clockid_t, timeval& timeout, Function<void()>&& callback);
TimerId add_timer(clockid_t, const Time& timeout, Function<void()>&& callback);
bool cancel_timer(TimerId id);
bool cancel_timer(Timer&);
bool cancel_timer(NonnullRefPtr<Timer>&& timer)