BootDrive
BootDrive::BootDrive(const char* path)
BootDrive::~BootDrive()
BootDrive::InstalledMenu(const BootMenuList& menus) const
BootDrive::CanMenuBeInstalled(const BootMenuList& menus) const
BootDrive::AddSupportedMenus(const BootMenuList& from, BootMenuList& to)
BootDrive::Path() const
BootDrive::IsBootDrive() const
BootDrive::GetDiskDevice(BDiskDevice& device) const
class BootDrive {
BootDrive(const char* path);
virtual ~BootDrive();
fBootDrive = new BootDrive(path);
class BootDrive;
BootDrive* fBootDrive;
class BootDrive;
virtual bool IsInstalled(const BootDrive& drive) = 0;
virtual status_t CanBeInstalled(const BootDrive& drive) = 0;
virtual status_t CollectPartitions(const BootDrive& drive,
virtual status_t Install(const BootDrive& drive,
BootDrive* Drive() { return fDrive; }
BootDrive* fDrive;
fDrive = new BootDrive(fPath.Path());
LegacyBootMenu::IsInstalled(const BootDrive& drive)
LegacyBootMenu::CanBeInstalled(const BootDrive& drive)
LegacyBootMenu::CollectPartitions(const BootDrive& drive, BMessage& settings)
LegacyBootMenu::Install(const BootDrive& drive, BMessage& settings)
virtual bool IsInstalled(const BootDrive& drive);
virtual status_t CanBeInstalled(const BootDrive& drive);
virtual status_t CollectPartitions(const BootDrive& drive,
virtual status_t Install(const BootDrive& drive,