1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:48:11 +00:00

LibCore: Add CEventLoop and make LibGUI/GEventLoop inherit from it.

This is shaping up to be quite nice.
This commit is contained in:
Andreas Kling 2019-04-10 17:30:34 +02:00
parent 2f1f51b8ab
commit b2542414d7
6 changed files with 366 additions and 289 deletions

View file

@ -30,7 +30,7 @@ private:
};
class CDeferredInvocationEvent : public CEvent {
friend class GEventLoop;
friend class CEventLoop;
public:
CDeferredInvocationEvent(Function<void(CObject&)> invokee)
: CEvent(CEvent::Type::DeferredInvoke)