diff options
Diffstat (limited to 'src/citra_qt/main.h')
| -rw-r--r-- | src/citra_qt/main.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/citra_qt/main.h b/src/citra_qt/main.h index 6e4e56689..477db5c5c 100644 --- a/src/citra_qt/main.h +++ b/src/citra_qt/main.h | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | 10 | ||
| 11 | #include "ui_main.h" | 11 | #include "ui_main.h" |
| 12 | 12 | ||
| 13 | class Config; | ||
| 13 | class GameList; | 14 | class GameList; |
| 14 | class GImageInfo; | 15 | class GImageInfo; |
| 15 | class GRenderWindow; | 16 | class GRenderWindow; |
| @@ -104,12 +105,8 @@ private slots: | |||
| 104 | /// Called whenever a user selects the "File->Select Game List Root" menu item | 105 | /// Called whenever a user selects the "File->Select Game List Root" menu item |
| 105 | void OnMenuSelectGameListRoot(); | 106 | void OnMenuSelectGameListRoot(); |
| 106 | void OnMenuRecentFile(); | 107 | void OnMenuRecentFile(); |
| 107 | void OnOpenHotkeysDialog(); | ||
| 108 | void OnConfigure(); | 108 | void OnConfigure(); |
| 109 | void OnDisplayTitleBars(bool); | 109 | void OnDisplayTitleBars(bool); |
| 110 | void SetHardwareRendererEnabled(bool); | ||
| 111 | void SetGdbstubEnabled(bool); | ||
| 112 | void SetShaderJITEnabled(bool); | ||
| 113 | void ToggleWindowMode(); | 110 | void ToggleWindowMode(); |
| 114 | 111 | ||
| 115 | private: | 112 | private: |
| @@ -118,6 +115,8 @@ private: | |||
| 118 | GRenderWindow* render_window; | 115 | GRenderWindow* render_window; |
| 119 | GameList* game_list; | 116 | GameList* game_list; |
| 120 | 117 | ||
| 118 | std::unique_ptr<Config> config; | ||
| 119 | |||
| 121 | // Whether emulation is currently running in Citra. | 120 | // Whether emulation is currently running in Citra. |
| 122 | bool emulation_running = false; | 121 | bool emulation_running = false; |
| 123 | std::unique_ptr<EmuThread> emu_thread; | 122 | std::unique_ptr<EmuThread> emu_thread; |
| @@ -131,7 +130,6 @@ private: | |||
| 131 | GPUCommandListWidget* graphicsCommandsWidget; | 130 | GPUCommandListWidget* graphicsCommandsWidget; |
| 132 | 131 | ||
| 133 | QAction* actions_recent_files[max_recent_files_item]; | 132 | QAction* actions_recent_files[max_recent_files_item]; |
| 134 | bool confirm_before_closing; | ||
| 135 | }; | 133 | }; |
| 136 | 134 | ||
| 137 | #endif // _CITRA_QT_MAIN_HXX_ | 135 | #endif // _CITRA_QT_MAIN_HXX_ |