mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:07:46 +00:00
Kernel: Remove type from StorageDevice class
This commit is contained in:
parent
9b75b1be5f
commit
a73bd0fff8
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