LibGUI: Add GMenu* and GApplication classes.

This commit is contained in:
Andreas Kling 2019-02-11 14:43:43 +01:00
commit 9483b39227
Notes: sideshowbarker 2024-07-19 15:47:09 +09:00
9 changed files with 131 additions and 0 deletions

19
LibGUI/GApplication.h Normal file
View file

@ -0,0 +1,19 @@
#pragma once
#include <AK/OwnPtr.h>
class GEventLoop;
class GMenuBar;
class GApplication {
public:
GApplication(int argc, char** argv);
int exec();
void set_menubar(OwnPtr<GMenuBar>&&);
private:
OwnPtr<GEventLoop> m_event_loop;
OwnPtr<GMenuBar> m_menubar;
};