mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 19:19:30 +00:00
Kernel: Remove type from StorageDevice class
This commit is contained in:
parent
9b75b1be5f
commit
a73bd0fff8
Notes:
sideshowbarker
2024-07-18 20:25:08 +09:00
Author: https://github.com/boricj
Commit: a73bd0fff8
Pull-request: https://github.com/SerenityOS/serenity/pull/6295
14 changed files with 1 additions and 47 deletions
|
@ -36,12 +36,6 @@ namespace Kernel {
|
|||
|
||||
class PartitionTable {
|
||||
public:
|
||||
enum class Type {
|
||||
MBR,
|
||||
EBR,
|
||||
GPT,
|
||||
BSD
|
||||
};
|
||||
enum class Error {
|
||||
Invalid,
|
||||
MBRProtective,
|
||||
|
@ -51,7 +45,6 @@ public:
|
|||
public:
|
||||
Optional<DiskPartitionMetadata> partition(unsigned index);
|
||||
size_t partitions_count() const { return m_partitions.size(); }
|
||||
virtual Type type() const = 0;
|
||||
virtual ~PartitionTable() = default;
|
||||
virtual bool is_valid() const = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue