summaryrefslogtreecommitdiff
path: root/src/core/core.h
diff options
context:
space:
mode:
authorGravatar german772023-12-09 23:28:18 -0600
committerGravatar german772023-12-10 11:29:43 -0600
commita22a025c5bd579d782225cafba1b56896d22e4cd (patch)
tree2dc2cb8f3a603c91b24b71cc308489f6328633bf /src/core/core.h
parentMerge pull request #12296 from liamwhite/client-session (diff)
downloadyuzu-a22a025c5bd579d782225cafba1b56896d22e4cd.tar.gz
yuzu-a22a025c5bd579d782225cafba1b56896d22e4cd.tar.xz
yuzu-a22a025c5bd579d782225cafba1b56896d22e4cd.zip
core: Use single instance of profile manager
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h7
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;
45 45
46namespace Service { 46namespace Service {
47 47
48namespace Account {
49class ProfileManager;
50} // namespace Account
51
48namespace AM::Applets { 52namespace AM::Applets {
49struct AppletFrontendSet; 53struct AppletFrontendSet;
50class AppletManager; 54class AppletManager;
@@ -383,6 +387,9 @@ public:
383 [[nodiscard]] Service::APM::Controller& GetAPMController(); 387 [[nodiscard]] Service::APM::Controller& GetAPMController();
384 [[nodiscard]] const Service::APM::Controller& GetAPMController() const; 388 [[nodiscard]] const Service::APM::Controller& GetAPMController() const;
385 389
390 [[nodiscard]] Service::Account::ProfileManager& GetProfileManager();
391 [[nodiscard]] const Service::Account::ProfileManager& GetProfileManager() const;
392
386 [[nodiscard]] Service::Time::TimeManager& GetTimeManager(); 393 [[nodiscard]] Service::Time::TimeManager& GetTimeManager();
387 [[nodiscard]] const Service::Time::TimeManager& GetTimeManager() const; 394 [[nodiscard]] const Service::Time::TimeManager& GetTimeManager() const;
388 395