mirror of
https://github.com/RGBCube/serenity
synced 2026-01-15 00:11:00 +00:00
The name "variables" is a bit awkward and what the directory entries are really about is kernel configuration so let's make it clear with the new name.
24 lines
590 B
C++
24 lines
590 B
C++
/*
|
|
* Copyright (c) 2021-2023, Liav A. <liavalb@hotmail.co.il>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/Types.h>
|
|
#include <Kernel/FileSystem/SysFS/Component.h>
|
|
#include <Kernel/FileSystem/SysFS/RootDirectory.h>
|
|
|
|
namespace Kernel {
|
|
|
|
class SysFSKernelConfigurationDirectory : public SysFSDirectory {
|
|
public:
|
|
static NonnullRefPtr<SysFSKernelConfigurationDirectory> must_create(SysFSDirectory const&);
|
|
virtual StringView name() const override { return "conf"sv; }
|
|
|
|
private:
|
|
explicit SysFSKernelConfigurationDirectory(SysFSDirectory const&);
|
|
};
|
|
|
|
}
|