mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:47:35 +00:00
Kernel: Rename SystemRegistrar => SysFSComponentRegistry
This commit is contained in:
parent
ea8578bf11
commit
27244eb0ee
7 changed files with 19 additions and 19 deletions
|
@ -22,7 +22,7 @@ class SysFSInode;
|
|||
class SysFSDirectoryInode;
|
||||
|
||||
class SysFSRootFolder final : public SystemExposedFolder {
|
||||
friend class SystemRegistrar;
|
||||
friend class SysFSComponentRegistry;
|
||||
|
||||
public:
|
||||
static NonnullRefPtr<SysFSRootFolder> create();
|
||||
|
@ -32,18 +32,18 @@ private:
|
|||
SysFSRootFolder();
|
||||
};
|
||||
|
||||
class SystemRegistrar {
|
||||
class SysFSComponentRegistry {
|
||||
friend class SysFS;
|
||||
friend class SystemExposedComponent;
|
||||
friend class SystemExposedFolder;
|
||||
friend class SysFSRootFolder;
|
||||
|
||||
public:
|
||||
static SystemRegistrar& the();
|
||||
static SysFSComponentRegistry& the();
|
||||
|
||||
static void initialize();
|
||||
|
||||
SystemRegistrar();
|
||||
SysFSComponentRegistry();
|
||||
void register_new_component(SystemExposedComponent&);
|
||||
|
||||
NonnullRefPtr<SystemExposedFolder> root_folder() { return m_root_folder; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue