BDiskSystemAddOn: Remove the Flags field.

Nothing used it. Instead the kernel addons' flags are used instead,
except in the case of PartitionDelegate, which calls SupportedOperations().
This commit is contained in:
Augustin Cavalier
2024-12-19 16:34:16 -05:00
parent f48a542cf4
commit 04c8e27efa
8 changed files with 10 additions and 86 deletions
+1 -4
View File
@@ -19,12 +19,10 @@ class BPartitioningInfo;
class BDiskSystemAddOn {
public:
BDiskSystemAddOn(const char* name,
uint32 flags);
BDiskSystemAddOn(const char* name);
virtual ~BDiskSystemAddOn();
const char* Name() const;
uint32 Flags() const;
virtual status_t CreatePartitionHandle(
BMutablePartition* partition,
@@ -48,7 +46,6 @@ public:
private:
BString fName;
uint32 fFlags;
};