Now uses the DoublyLinked::List class instead of the C list stuff.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5016 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
namespace boot {
|
||||
|
||||
class Partition : public partition_data, public Node {
|
||||
class Partition : public Node, public partition_data {
|
||||
public:
|
||||
Partition(int deviceFD);
|
||||
virtual ~Partition();
|
||||
@@ -31,13 +31,11 @@ class Partition : public partition_data, public Node {
|
||||
Partition *Parent() const { return fParent; }
|
||||
bool IsFileSystem() const { return fIsFileSystem; }
|
||||
|
||||
static size_t LinkOffset() { return sizeof(partition_data); }
|
||||
|
||||
private:
|
||||
void SetParent(Partition *parent) { fParent = parent; }
|
||||
|
||||
int fFD;
|
||||
list fChildren;
|
||||
NodeList fChildren;
|
||||
Partition *fParent;
|
||||
bool fIsFileSystem;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user