summaryrefslogtreecommitdiff
path: root/src/yuzu/main.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-12-18 23:09:44 -0500
committerLiam <byteslice@airmail.cc>2022-12-20 09:16:08 -0500
commit053ad04d3f50ec9bca40e48487e4a0cda9b320f4 (patch)
tree22bd63ff466f5a4c1b08c028f9b3cde18633bb94 /src/yuzu/main.h
parent1b11e0f0d3209603e67b26f3ef22f1d1a493bbdc (diff)
qt: continue event loop during game close
Diffstat (limited to 'src/yuzu/main.h')
-rw-r--r--src/yuzu/main.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/yuzu/main.h b/src/yuzu/main.h
index 5b84c7a00..ce1de17ef 100644
--- a/src/yuzu/main.h
+++ b/src/yuzu/main.h
@@ -29,6 +29,7 @@ class GImageInfo;
class GRenderWindow;
class LoadingScreen;
class MicroProfileDialog;
+class OverlayDialog;
class ProfilerWidget;
class ControllerDialog;
class QLabel;
@@ -335,6 +336,10 @@ private slots:
void OnReinitializeKeys(ReinitializeKeyBehavior behavior);
void OnLanguageChanged(const QString& locale);
void OnMouseActivity();
+ void OnShutdownBegin();
+ void OnShutdownBeginDialog();
+ void OnEmulationStopped();
+ void OnEmulationStopTimeExpired();
private:
QString GetGameListErrorRemoving(InstalledEntryType type) const;
@@ -384,6 +389,8 @@ private:
GRenderWindow* render_window;
GameList* game_list;
LoadingScreen* loading_screen;
+ QTimer shutdown_timer;
+ OverlayDialog* shutdown_dialog;
GameListPlaceholder* game_list_placeholder;