2022-04-23 11:48:40 +03:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2022, Liav A. <liavalb@hotmail.co.il>
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <Kernel/FileSystem/SysFS/Component.h>
|
|
|
|
|
#include <Kernel/Forward.h>
|
|
|
|
|
|
|
|
|
|
namespace Kernel {
|
|
|
|
|
|
|
|
|
|
class SysFSDevicesDirectory final : public SysFSDirectory {
|
|
|
|
|
public:
|
|
|
|
|
virtual StringView name() const override { return "devices"sv; }
|
2022-08-19 20:53:40 +02:00
|
|
|
static NonnullLockRefPtr<SysFSDevicesDirectory> must_create(SysFSRootDirectory const&);
|
2022-04-23 11:48:40 +03:00
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
explicit SysFSDevicesDirectory(SysFSRootDirectory const&);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}
|