summaryrefslogtreecommitdiff
path: root/src/core/core.h
diff options
context:
space:
mode:
authorGravatar liamwhite2023-12-12 11:06:37 -0500
committerGravatar GitHub2023-12-12 11:06:37 -0500
commit15bebf1695246c85852835b0fae58d795626dc39 (patch)
tree03de654621e65cb185b2a2e3511f71b933b005ef /src/core/core.h
parentMerge pull request #12333 from german77/aruid_free (diff)
parentcore: Use single instance of profile manager (diff)
downloadyuzu-15bebf1695246c85852835b0fae58d795626dc39.tar.gz
yuzu-15bebf1695246c85852835b0fae58d795626dc39.tar.xz
yuzu-15bebf1695246c85852835b0fae58d795626dc39.zip
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.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