diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2023-09-21 18:54:04 +0200 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2023-09-22 02:21:39 +0200 |
commit | a57ca3fb66188335d4673d43099ad76ebfc5b4a2 (patch) | |
tree | 362413cf8a3d6ebc1deb24438a1db772c8de3413 /src/core/hle/service/mii/mii.h | |
parent | Merge pull request #11555 from yuzu-emu/revert-11551-allow-save-imports-always (diff) | |
download | yuzu-a57ca3fb66188335d4673d43099ad76ebfc5b4a2.tar yuzu-a57ca3fb66188335d4673d43099ad76ebfc5b4a2.tar.gz yuzu-a57ca3fb66188335d4673d43099ad76ebfc5b4a2.tar.bz2 yuzu-a57ca3fb66188335d4673d43099ad76ebfc5b4a2.tar.lz yuzu-a57ca3fb66188335d4673d43099ad76ebfc5b4a2.tar.xz yuzu-a57ca3fb66188335d4673d43099ad76ebfc5b4a2.tar.zst yuzu-a57ca3fb66188335d4673d43099ad76ebfc5b4a2.zip |
Diffstat (limited to 'src/core/hle/service/mii/mii.h')
-rw-r--r-- | src/core/hle/service/mii/mii.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/core/hle/service/mii/mii.h b/src/core/hle/service/mii/mii.h index ed4e3f62b..9aa4426f6 100644 --- a/src/core/hle/service/mii/mii.h +++ b/src/core/hle/service/mii/mii.h @@ -3,11 +3,29 @@ #pragma once +#include "core/hle/service/service.h" + namespace Core { class System; } namespace Service::Mii { +class MiiManager; + +class MiiDBModule final : public ServiceFramework<MiiDBModule> { +public: + explicit MiiDBModule(Core::System& system_, const char* name_, + std::shared_ptr<MiiManager> mii_manager, bool is_system_); + ~MiiDBModule() override; + + std::shared_ptr<MiiManager> GetMiiManager(); + +private: + void GetDatabaseService(HLERequestContext& ctx); + + std::shared_ptr<MiiManager> manager = nullptr; + bool is_system{}; +}; void LoopProcess(Core::System& system); |