summaryrefslogtreecommitdiff
path: root/src/citra_qt/main.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/citra_qt/main.hxx')
-rw-r--r--src/citra_qt/main.hxx51
1 files changed, 51 insertions, 0 deletions
diff --git a/src/citra_qt/main.hxx b/src/citra_qt/main.hxx
new file mode 100644
index 000000000..34bd2c3a4
--- /dev/null
+++ b/src/citra_qt/main.hxx
@@ -0,0 +1,51 @@
1#ifndef _CITRA_QT_MAIN_HXX_
2#define _CITRA_QT_MAIN_HXX_
3
4#include <QMainWindow>
5
6#include "ui_main.h"
7
8class GImageInfo;
9class GRenderWindow;
10class GDisAsmView;
11class GARM11RegsView;
12
13class GMainWindow : public QMainWindow
14{
15 Q_OBJECT
16
17 // TODO: Make use of this!
18 enum {
19 UI_IDLE,
20 UI_EMU_BOOTING,
21 UI_EMU_RUNNING,
22 UI_EMU_STOPPING,
23 };
24
25public:
26 GMainWindow();
27 ~GMainWindow();
28
29private:
30 void BootGame(const char* filename);
31
32 void closeEvent(QCloseEvent* event);
33
34private slots:
35 void OnStartGame();
36 void OnPauseGame();
37 void OnStopGame();
38 void OnMenuLoadELF();
39 void OnOpenHotkeysDialog();
40 void SetupEmuWindowMode();
41 void OnConfigure();
42
43private:
44 Ui::MainWindow ui;
45
46 GRenderWindow* render_window;
47 GDisAsmView* disasm;
48 GARM11RegsView* arm_regs;
49};
50
51#endif // _CITRA_QT_MAIN_HXX_