From 7765cbf6f45efe9d894df192d1224a0ed24ef505 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 15 Jun 2004 16:51:33 +0000 Subject: [PATCH] file_system_module_info now contains the module name as well. The Partition class now maintains a module name, accessible via the new method ModuleName(). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7983 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/boot/partitions.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/headers/private/kernel/boot/partitions.h b/headers/private/kernel/boot/partitions.h index b70ef47ac1..eaa6668474 100644 --- a/headers/private/kernel/boot/partitions.h +++ b/headers/private/kernel/boot/partitions.h @@ -30,6 +30,7 @@ class Partition : public Node, public partition_data { Partition *Parent() const { return fParent; } bool IsFileSystem() const { return fIsFileSystem; } + const char *ModuleName() const { return fModuleName; } private: void SetParent(Partition *parent) { fParent = parent; } @@ -38,6 +39,7 @@ class Partition : public Node, public partition_data { NodeList fChildren; Partition *fParent; bool fIsFileSystem; + const char *fModuleName; }; } // namespace boot @@ -71,6 +73,7 @@ extern partition_module_info gApplePartitionModule; // and hence, don't need to follow the standard module specs. struct file_system_module_info { + const char *module_name; const char *pretty_name; status_t (*get_file_system)(boot::Partition *device, Directory **_root); };