mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:28:12 +00:00
19 lines
285 B
C++
19 lines
285 B
C++
#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;
|
|
};
|