diff options
| author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-09-25 23:18:14 -0400 |
|---|---|---|
| committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-10-01 23:39:54 -0400 |
| commit | 282bdfd1bf87de150f4a2e7686a4f062b4b9f7c1 (patch) | |
| tree | 7743a6378d6ca4fe213ac34c1fdaedf6a7ef10e5 /src/yuzu/bootmanager.h | |
| parent | d8467ca6c0eff0ea0fc619043893abb0a2cebf9f (diff) | |
yuzu: main: Register a callback for Exit
Diffstat (limited to 'src/yuzu/bootmanager.h')
| -rw-r--r-- | src/yuzu/bootmanager.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu/bootmanager.h b/src/yuzu/bootmanager.h index 402dd2ee1..54c4e2142 100644 --- a/src/yuzu/bootmanager.h +++ b/src/yuzu/bootmanager.h @@ -181,6 +181,9 @@ public: */ void ExecuteProgram(std::size_t program_index); + /// Instructs the window to exit the application. + void Exit(); + public slots: void OnEmulationStarting(EmuThread* emu_thread); void OnEmulationStopping(); @@ -191,6 +194,7 @@ signals: void Closed(); void FirstFrameDisplayed(); void ExecuteProgramSignal(std::size_t program_index); + void ExitSignal(); void MouseActivity(); private: |
