diff options
| author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-10-14 14:12:22 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-14 14:12:22 -0400 |
| commit | b02d662980a401057d2ff7c1522d47f9f6538d81 (patch) | |
| tree | 2717ff56b111eb1adfcb712e14ad69f25ab76b68 /src/yuzu/configuration/input_profiles.h | |
| parent | 894b483a0d619c3ceaa79fa0ff4cef6d37301f9c (diff) | |
| parent | b6894bfc5b86c2fae0b401f2cfc294a08994781d (diff) | |
Merge pull request #6774 from lat9nq/remove-global-yuzu
yuzu qt: Remove global system instances
Diffstat (limited to 'src/yuzu/configuration/input_profiles.h')
| -rw-r--r-- | src/yuzu/configuration/input_profiles.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/yuzu/configuration/input_profiles.h b/src/yuzu/configuration/input_profiles.h index cb41fd9be..a567bd5a9 100644 --- a/src/yuzu/configuration/input_profiles.h +++ b/src/yuzu/configuration/input_profiles.h @@ -8,12 +8,16 @@ #include <string_view> #include <unordered_map> +namespace Core { +class System; +} + class Config; class InputProfiles { public: - explicit InputProfiles(); + explicit InputProfiles(Core::System& system_); virtual ~InputProfiles(); std::vector<std::string> GetInputProfileNames(); @@ -29,4 +33,6 @@ private: bool ProfileExistsInMap(const std::string& profile_name) const; std::unordered_map<std::string, std::unique_ptr<Config>> map_profiles; + + Core::System& system; }; |
