core: Make ProgramRegistry part of the system instance

This commit is contained in:
FearlessTobi
2024-02-25 19:49:46 +01:00
parent ade3a79bde
commit 0cac10aa19
8 changed files with 40 additions and 33 deletions
+7
View File
@@ -24,6 +24,10 @@ class ContentProvider;
class ContentProviderUnion;
enum class ContentProviderUnionSlot;
class VfsFilesystem;
namespace FsSrv {
class ProgramRegistryImpl;
}
} // namespace FileSys
namespace Kernel {
@@ -373,6 +377,9 @@ public:
void ClearContentProvider(FileSys::ContentProviderUnionSlot slot);
[[nodiscard]] FileSys::FsSrv::ProgramRegistryImpl& GetProgramRegistry();
[[nodiscard]] const FileSys::FsSrv::ProgramRegistryImpl& GetProgramRegistry() const;
[[nodiscard]] const Reporter& GetReporter() const;
[[nodiscard]] Service::Glue::ARPManager& GetARPManager();