btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / apps / bootmanager / DrivesPage.h
blob6142daf6a5469ce7d446a97e5f88b3ec28a24bcc
1 /*
2 * Copyright 2011, Axel Dörfler, axeld@pinc-software.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef DRIVES_PAGE_H
6 #define DRIVES_PAGE_H
9 #include "BootMenu.h"
10 #include "WizardPageView.h"
13 class BListView;
14 class BTextView;
15 class BScrollView;
16 class DriveItem;
17 class WizardView;
20 class DrivesPage : public WizardPageView {
21 public:
22 DrivesPage(WizardView* wizardView,
23 const BootMenuList& menus,
24 BMessage* settings, const char* name);
25 virtual ~DrivesPage();
27 virtual void PageCompleted();
29 protected:
30 void AttachedToWindow();
31 void MessageReceived(BMessage* message);
33 private:
34 void _FillDrivesView(const BootMenuList& menus);
35 DriveItem* _SelectedDriveItem();
36 void _UpdateWizardButtons(DriveItem* item);
38 private:
39 WizardView* fWizardView;
40 BListView* fDrivesView;
41 bool fHasInstallableItems;
45 #endif // DRIVES_PAGE_H