all repos — mgba @ 8aa5880afd76a2fa25ab6c702fab886d17494057

mGBA Game Boy Advance Emulator

src/platform/qt/GBAApp.h (view raw)

 1#ifndef QGBA_APP_H
 2#define QGBA_APP_H
 3
 4#include <QApplication>
 5
 6#include "Window.h"
 7
 8extern "C" {
 9#include "platform/commandline.h"
10}
11
12namespace QGBA {
13
14class GameController;
15
16class GBAApp : public QApplication {
17Q_OBJECT
18
19public:
20	GBAApp(int& argc, char* argv[]);
21	virtual ~GBAApp();
22
23protected:
24	bool event(QEvent*);
25
26private:
27	Window m_window;
28
29	StartupOptions m_opts;
30};
31
32}
33
34#endif