The class partition is now in the namespace "boot". Now overloads Size()

and Type() as well.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4630 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2003-09-12 01:07:03 +00:00
parent 04409b5f9e
commit 21d6803233
+7
View File
@@ -12,6 +12,8 @@
#include <stddef.h>
namespace boot {
class Partition : public partition_data, public Node {
public:
Partition(int deviceFD);
@@ -20,6 +22,9 @@ class Partition : public partition_data, public Node {
virtual ssize_t ReadAt(void *cookie, off_t offset, void *buffer, size_t bufferSize);
virtual ssize_t WriteAt(void *cookie, off_t offset, const void *buffer, size_t bufferSize);
virtual off_t Size() const;
virtual int32 Type() const;
Partition *AddChild();
status_t Scan();
@@ -37,4 +42,6 @@ class Partition : public partition_data, public Node {
bool fIsFileSystem;
};
} // namespace boot
#endif /* PARTITION_H */