repository_infos: Enable automatic updates on the main Haiku repostiory.
[haiku.git] / src / apps / bootmanager / BootDrive.h
blob238bb87d388754ed8ce3360646cda525cb01af68
1 /*
2 * Copyright 2011, Axel Dörfler, axeld@pinc-software.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef BOOT_DRIVE_H
6 #define BOOT_DRIVE_H
9 #include <Path.h>
11 #include "BootMenu.h"
14 class BDiskDevice;
17 class BootDrive {
18 public:
19 BootDrive(const char* path);
20 virtual ~BootDrive();
22 BootMenu* InstalledMenu(
23 const BootMenuList& menus) const;
24 status_t CanMenuBeInstalled(
25 const BootMenuList& menus) const;
26 void AddSupportedMenus(const BootMenuList& from,
27 BootMenuList& to);
29 const char* Path() const;
30 bool IsBootDrive() const;
32 status_t GetDiskDevice(BDiskDevice& device) const;
34 private:
35 BPath fPath;
39 #endif // BOOT_DRIVE_H