diff options
Diffstat (limited to 'src/citra_qt/main.hxx')
| -rw-r--r-- | src/citra_qt/main.hxx | 51 |
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 | |||
| 8 | class GImageInfo; | ||
| 9 | class GRenderWindow; | ||
| 10 | class GDisAsmView; | ||
| 11 | class GARM11RegsView; | ||
| 12 | |||
| 13 | class 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 | |||
| 25 | public: | ||
| 26 | GMainWindow(); | ||
| 27 | ~GMainWindow(); | ||
| 28 | |||
| 29 | private: | ||
| 30 | void BootGame(const char* filename); | ||
| 31 | |||
| 32 | void closeEvent(QCloseEvent* event); | ||
| 33 | |||
| 34 | private slots: | ||
| 35 | void OnStartGame(); | ||
| 36 | void OnPauseGame(); | ||
| 37 | void OnStopGame(); | ||
| 38 | void OnMenuLoadELF(); | ||
| 39 | void OnOpenHotkeysDialog(); | ||
| 40 | void SetupEmuWindowMode(); | ||
| 41 | void OnConfigure(); | ||
| 42 | |||
| 43 | private: | ||
| 44 | Ui::MainWindow ui; | ||
| 45 | |||
| 46 | GRenderWindow* render_window; | ||
| 47 | GDisAsmView* disasm; | ||
| 48 | GARM11RegsView* arm_regs; | ||
| 49 | }; | ||
| 50 | |||
| 51 | #endif // _CITRA_QT_MAIN_HXX_ | ||