mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-25 05:55:13 +00:00
22 lines
358 B
C++
22 lines
358 B
C++
#pragma once
|
|
|
|
#include <AK/OwnPtr.h>
|
|
|
|
class GEventLoop;
|
|
class GMenuBar;
|
|
|
|
class GApplication {
|
|
public:
|
|
static GApplication& the();
|
|
GApplication(int argc, char** argv);
|
|
~GApplication();
|
|
|
|
int exec();
|
|
void exit(int);
|
|
|
|
void set_menubar(OwnPtr<GMenuBar>&&);
|
|
|
|
private:
|
|
OwnPtr<GEventLoop> m_event_loop;
|
|
OwnPtr<GMenuBar> m_menubar;
|
|
};
|