summaryrefslogtreecommitdiff
path: root/LibGUI/GApplication.h
blob: eff2c11e22279650bc803a871e6e987cfea2db93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;
};