mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:08:12 +00:00
LibCore+LibGUI: Remove GEventLoop and use CEventLoop everywhere
GEventLoop was just a dummy subclass of CEventLoop anyway. The only thing it actually did was make sure a GWindowServerConnectionw was instantiated. We now take care of that in GApplication instead. CEventLoop is now non-virtual and a little less confusing. :^)
This commit is contained in:
parent
edac8704de
commit
34d0e96aec
12 changed files with 23 additions and 42 deletions
|
@ -5,8 +5,8 @@
|
|||
#include <AK/OwnPtr.h>
|
||||
#include <LibGUI/GShortcut.h>
|
||||
|
||||
class CEventLoop;
|
||||
class GAction;
|
||||
class GEventLoop;
|
||||
class GKeyEvent;
|
||||
class GMenuBar;
|
||||
class GWindow;
|
||||
|
@ -36,7 +36,7 @@ public:
|
|||
void did_delete_last_window(Badge<GWindow>);
|
||||
|
||||
private:
|
||||
OwnPtr<GEventLoop> m_event_loop;
|
||||
OwnPtr<CEventLoop> m_event_loop;
|
||||
OwnPtr<GMenuBar> m_menubar;
|
||||
HashMap<GShortcut, GAction*> m_global_shortcut_actions;
|
||||
class TooltipWindow;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue