diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2023-03-29 04:55:06 +0200 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2023-03-29 16:53:19 +0200 |
commit | 668eb5b8dad656c281c218ea8b4c34965b163b93 (patch) | |
tree | 5bbe7344abb001909ee32e7dd9422b1a91c72f9d /src/yuzu/main.h | |
parent | Merge pull request #9505 from liamwhite/request-exit (diff) | |
download | yuzu-668eb5b8dad656c281c218ea8b4c34965b163b93.tar yuzu-668eb5b8dad656c281c218ea8b4c34965b163b93.tar.gz yuzu-668eb5b8dad656c281c218ea8b4c34965b163b93.tar.bz2 yuzu-668eb5b8dad656c281c218ea8b4c34965b163b93.tar.lz yuzu-668eb5b8dad656c281c218ea8b4c34965b163b93.tar.xz yuzu-668eb5b8dad656c281c218ea8b4c34965b163b93.tar.zst yuzu-668eb5b8dad656c281c218ea8b4c34965b163b93.zip |
Diffstat (limited to 'src/yuzu/main.h')
-rw-r--r-- | src/yuzu/main.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/yuzu/main.h b/src/yuzu/main.h index a99938eaa..2f16e0b1c 100644 --- a/src/yuzu/main.h +++ b/src/yuzu/main.h @@ -69,6 +69,7 @@ struct ControllerParameters; struct InlineAppearParameters; struct InlineTextParameters; struct KeyboardInitializeParameters; +struct ProfileSelectParameters; } // namespace Core::Frontend namespace DiscordRPC { @@ -203,7 +204,7 @@ public slots: void SoftwareKeyboardExit(); void ErrorDisplayDisplayError(QString error_code, QString error_text); void ErrorDisplayRequestExit(); - void ProfileSelectorSelectProfile(); + void ProfileSelectorSelectProfile(const Core::Frontend::ProfileSelectParameters& parameters); void ProfileSelectorRequestExit(); void WebBrowserOpenWebPage(const std::string& main_url, const std::string& additional_args, bool is_local); @@ -242,7 +243,7 @@ private: void SetDiscordEnabled(bool state); void LoadAmiibo(const QString& filename); - bool SelectAndSetCurrentUser(); + bool SelectAndSetCurrentUser(const Core::Frontend::ProfileSelectParameters& parameters); /** * Stores the filename in the recently loaded files list. |