summaryrefslogtreecommitdiff
path: root/src/citra_qt/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/citra_qt/main.h')
-rw-r--r--src/citra_qt/main.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/citra_qt/main.h b/src/citra_qt/main.h
index 32523fded..6d27ce6a9 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
13class GameList;
13class GImageInfo; 14class GImageInfo;
14class GRenderWindow; 15class GRenderWindow;
15class EmuThread; 16class EmuThread;
@@ -87,8 +88,12 @@ private slots:
87 void OnStartGame(); 88 void OnStartGame();
88 void OnPauseGame(); 89 void OnPauseGame();
89 void OnStopGame(); 90 void OnStopGame();
91 /// Called whenever a user selects a game in the game list widget.
92 void OnGameListLoadFile(QString game_path);
90 void OnMenuLoadFile(); 93 void OnMenuLoadFile();
91 void OnMenuLoadSymbolMap(); 94 void OnMenuLoadSymbolMap();
95 /// Called whenever a user selects the "File->Select Game List Root" menu item
96 void OnMenuSelectGameListRoot();
92 void OnMenuRecentFile(); 97 void OnMenuRecentFile();
93 void OnOpenHotkeysDialog(); 98 void OnOpenHotkeysDialog();
94 void OnConfigure(); 99 void OnConfigure();
@@ -101,7 +106,10 @@ private:
101 Ui::MainWindow ui; 106 Ui::MainWindow ui;
102 107
103 GRenderWindow* render_window; 108 GRenderWindow* render_window;
109 GameList* game_list;
104 110
111 // Whether emulation is currently running in Citra.
112 bool emulation_running = false;
105 std::unique_ptr<EmuThread> emu_thread; 113 std::unique_ptr<EmuThread> emu_thread;
106 114
107 ProfilerWidget* profilerWidget; 115 ProfilerWidget* profilerWidget;