diff options
author | Liam <byteslice@airmail.cc> | 2022-12-18 23:09:44 -0500 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-12-20 09:16:08 -0500 |
commit | 053ad04d3f50ec9bca40e48487e4a0cda9b320f4 (patch) | |
tree | 22bd63ff466f5a4c1b08c028f9b3cde18633bb94 /src/yuzu/main.h | |
parent | 1b11e0f0d3209603e67b26f3ef22f1d1a493bbdc (diff) |
qt: continue event loop during game close
Diffstat (limited to 'src/yuzu/main.h')
-rw-r--r-- | src/yuzu/main.h | 7 |
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; |