summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/main.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-10-02 05:35:19 +0200
committerbunnei <bunneidev@gmail.com>2015-10-02 05:35:19 +0200
commit11a64acf236851f88a023bcfa1eecb02991bdccc (patch)
tree814484ca15050312eec965740d5f6d2b6c814a80 /src/citra_qt/main.h
parentMerge pull request #1180 from lioncash/symbol (diff)
parentGame list: save and load column sizes, sort order, to QSettings (diff)
downloadyuzu-11a64acf236851f88a023bcfa1eecb02991bdccc.tar
yuzu-11a64acf236851f88a023bcfa1eecb02991bdccc.tar.gz
yuzu-11a64acf236851f88a023bcfa1eecb02991bdccc.tar.bz2
yuzu-11a64acf236851f88a023bcfa1eecb02991bdccc.tar.lz
yuzu-11a64acf236851f88a023bcfa1eecb02991bdccc.tar.xz
yuzu-11a64acf236851f88a023bcfa1eecb02991bdccc.tar.zst
yuzu-11a64acf236851f88a023bcfa1eecb02991bdccc.zip
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 @@
#include "ui_main.h"
+class GameList;
class GImageInfo;
class GRenderWindow;
class EmuThread;
@@ -87,8 +88,12 @@ private slots:
void OnStartGame();
void OnPauseGame();
void OnStopGame();
+ /// Called whenever a user selects a game in the game list widget.
+ void OnGameListLoadFile(QString game_path);
void OnMenuLoadFile();
void OnMenuLoadSymbolMap();
+ /// Called whenever a user selects the "File->Select Game List Root" menu item
+ void OnMenuSelectGameListRoot();
void OnMenuRecentFile();
void OnOpenHotkeysDialog();
void OnConfigure();
@@ -101,7 +106,10 @@ private:
Ui::MainWindow ui;
GRenderWindow* render_window;
+ GameList* game_list;
+ // Whether emulation is currently running in Citra.
+ bool emulation_running = false;
std::unique_ptr<EmuThread> emu_thread;
ProfilerWidget* profilerWidget;