all repos — mgba @ baeaf8729ff5591969bed96c115d3545886013a6

mGBA Game Boy Advance Emulator

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

 1#ifndef QGBA_WINDOW
 2#define QGBA_WINDOW
 3
 4#include <QAudioOutput>
 5#include <QMainWindow>
 6
 7#include "GameController.h"
 8#include "Display.h"
 9
10#include "ui_Window.h"
11
12namespace QGBA {
13
14class Window : public QMainWindow, Ui::GBAWindow {
15Q_OBJECT
16
17public:
18	Window(QWidget* parent = 0);
19
20public slots:
21	void selectROM();
22
23private slots:
24	void setupAudio(AudioDevice*);
25
26private:
27	QAudioOutput* m_audio;
28	GameController* m_controller;
29	Display* m_display;
30};
31
32}
33
34#endif