diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-12-12 11:06:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-12 11:06:37 -0500 |
commit | 15bebf1695246c85852835b0fae58d795626dc39 (patch) | |
tree | 03de654621e65cb185b2a2e3511f71b933b005ef /src/core/core.h | |
parent | 5c840334b8c1fae4e54986768a46e46a350b6318 (diff) | |
parent | a22a025c5bd579d782225cafba1b56896d22e4cd (diff) |
Merge pull request #12328 from german77/profile_manager
core: Use single instance of profile manager
Diffstat (limited to 'src/core/core.h')
-rw-r--r-- | src/core/core.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h index 05a222f5c..473204db7 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -45,6 +45,10 @@ class Memory; namespace Service { +namespace Account { +class ProfileManager; +} // namespace Account + namespace AM::Applets { struct AppletFrontendSet; class AppletManager; @@ -383,6 +387,9 @@ public: [[nodiscard]] Service::APM::Controller& GetAPMController(); [[nodiscard]] const Service::APM::Controller& GetAPMController() const; + [[nodiscard]] Service::Account::ProfileManager& GetProfileManager(); + [[nodiscard]] const Service::Account::ProfileManager& GetProfileManager() const; + [[nodiscard]] Service::Time::TimeManager& GetTimeManager(); [[nodiscard]] const Service::Time::TimeManager& GetTimeManager() const; |