diff options
author | german77 <juangerman-13@hotmail.com> | 2023-12-10 06:28:18 +0100 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2023-12-10 18:29:43 +0100 |
commit | a22a025c5bd579d782225cafba1b56896d22e4cd (patch) | |
tree | 2dc2cb8f3a603c91b24b71cc308489f6328633bf /src/yuzu/applets/qt_profile_select.h | |
parent | Merge pull request #12296 from liamwhite/client-session (diff) | |
download | yuzu-a22a025c5bd579d782225cafba1b56896d22e4cd.tar yuzu-a22a025c5bd579d782225cafba1b56896d22e4cd.tar.gz yuzu-a22a025c5bd579d782225cafba1b56896d22e4cd.tar.bz2 yuzu-a22a025c5bd579d782225cafba1b56896d22e4cd.tar.lz yuzu-a22a025c5bd579d782225cafba1b56896d22e4cd.tar.xz yuzu-a22a025c5bd579d782225cafba1b56896d22e4cd.tar.zst yuzu-a22a025c5bd579d782225cafba1b56896d22e4cd.zip |
Diffstat (limited to 'src/yuzu/applets/qt_profile_select.h')
-rw-r--r-- | src/yuzu/applets/qt_profile_select.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/yuzu/applets/qt_profile_select.h b/src/yuzu/applets/qt_profile_select.h index 99056e274..607f1777c 100644 --- a/src/yuzu/applets/qt_profile_select.h +++ b/src/yuzu/applets/qt_profile_select.h @@ -7,7 +7,6 @@ #include <QDialog> #include <QList> #include "core/frontend/applets/profile_select.h" -#include "core/hle/service/acc/profile_manager.h" class ControllerNavigation; class GMainWindow; @@ -20,15 +19,19 @@ class QStandardItemModel; class QTreeView; class QVBoxLayout; -namespace Core::HID { -class HIDCore; -} // namespace Core::HID +namespace Core { +class System; +} + +namespace Service::Account { +class ProfileManager; +} class QtProfileSelectionDialog final : public QDialog { Q_OBJECT public: - explicit QtProfileSelectionDialog(Core::HID::HIDCore& hid_core, QWidget* parent, + explicit QtProfileSelectionDialog(Core::System& system, QWidget* parent, const Core::Frontend::ProfileSelectParameters& parameters); ~QtProfileSelectionDialog() override; @@ -58,7 +61,7 @@ private: QScrollArea* scroll_area; QDialogButtonBox* buttons; - std::unique_ptr<Service::Account::ProfileManager> profile_manager; + Service::Account::ProfileManager& profile_manager; ControllerNavigation* controller_navigation = nullptr; }; |