diff options
| author | german77 <juangerman-13@hotmail.com> | 2023-12-09 23:28:18 -0600 |
|---|---|---|
| committer | german77 <juangerman-13@hotmail.com> | 2023-12-10 11:29:43 -0600 |
| commit | a22a025c5bd579d782225cafba1b56896d22e4cd (patch) | |
| tree | 2dc2cb8f3a603c91b24b71cc308489f6328633bf /src/core/core.h | |
| parent | 875568bb3e34725578f7fa3661c8bad89f23a173 (diff) | |
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; |
