diff options
author | german77 <juangerman-13@hotmail.com> | 2021-11-27 23:26:51 -0600 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2021-12-02 15:17:44 -0600 |
commit | 5ba7b11ba49ecba530612248286482f94799672c (patch) | |
tree | 16439df3a2c0d1f1169e45cefea492572413f6ba /src/yuzu/applets/qt_profile_select.h | |
parent | 46e3ed5a483eac404ff1e2103ecc4e93e815d45b (diff) |
yuzu: Implement basic controller navigation
Diffstat (limited to 'src/yuzu/applets/qt_profile_select.h')
-rw-r--r-- | src/yuzu/applets/qt_profile_select.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/yuzu/applets/qt_profile_select.h b/src/yuzu/applets/qt_profile_select.h index 4e9037488..56496ed31 100644 --- a/src/yuzu/applets/qt_profile_select.h +++ b/src/yuzu/applets/qt_profile_select.h @@ -11,6 +11,7 @@ #include "core/frontend/applets/profile_select.h" #include "core/hle/service/acc/profile_manager.h" +class ControllerNavigation; class GMainWindow; class QDialogButtonBox; class QGraphicsScene; @@ -20,11 +21,15 @@ class QStandardItem; class QStandardItemModel; class QVBoxLayout; +namespace Core::HID { +class HIDCore; +} // namespace Core::HID + class QtProfileSelectionDialog final : public QDialog { Q_OBJECT public: - explicit QtProfileSelectionDialog(QWidget* parent); + explicit QtProfileSelectionDialog(Core::HID::HIDCore& hid_core, QWidget* parent); ~QtProfileSelectionDialog() override; int exec() override; @@ -51,6 +56,7 @@ private: QDialogButtonBox* buttons; std::unique_ptr<Service::Account::ProfileManager> profile_manager; + ControllerNavigation* controller_navigation = nullptr; }; class QtProfileSelector final : public QObject, public Core::Frontend::ProfileSelectApplet { |