all repos — mgba @ b66ce64c4704ab5053457715d296ce05ec9ce67e

mGBA Game Boy Advance Emulator

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

 1/* Copyright (c) 2013-2014 Jeffrey Pfau
 2 *
 3 * This Source Code Form is subject to the terms of the Mozilla Public
 4 * License, v. 2.0. If a copy of the MPL was not distributed with this
 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 6#ifndef QGBA_APP_H
 7#define QGBA_APP_H
 8
 9#include <QApplication>
10
11#include "ConfigController.h"
12#include "Window.h"
13
14namespace QGBA {
15
16class GameController;
17
18class GBAApp : public QApplication {
19Q_OBJECT
20
21public:
22	GBAApp(int& argc, char* argv[]);
23
24protected:
25	bool event(QEvent*);
26
27private:
28	ConfigController m_configController;
29	Window m_window;
30};
31
32}
33
34#endif