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#include "util/configuration.h"
11}
12
13namespace QGBA {
14
15class GameController;
16
17class GBAApp : public QApplication {
18Q_OBJECT
19
20public:
21 GBAApp(int& argc, char* argv[]);
22 virtual ~GBAApp();
23
24protected:
25 bool event(QEvent*);
26
27private:
28 Window m_window;
29
30 GBAArguments m_args;
31 GBAOptions m_opts;
32 Configuration m_config;
33};
34
35}
36
37#endif