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

CNotifier: Provide a way to unregister a notifier temporarily

This commit is contained in:
Robin Burchell 2019-07-16 15:02:22 +02:00 committed by Andreas Kling
parent 3dac1f8ac5
commit 7bf420d83d
2 changed files with 12 additions and 2 deletions

View file

@ -13,6 +13,8 @@ public:
CNotifier(int fd, unsigned event_mask);
~CNotifier();
void set_enabled(bool);
Function<void()> on_ready_to_read;
Function<void()> on_ready_to_write;