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:
parent
2f1f51b8ab
commit
b2542414d7
6 changed files with 366 additions and 289 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue