mirror of
https://review.haiku-os.org/haiku
synced 2025-01-31 02:35:03 +01:00
0baa186bfb
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40193 a95241bf-73f2-0310-859d-f6bbb57e9c96
46 lines
920 B
C++
46 lines
920 B
C++
/*
|
|
* Copyright 2011, Axel Dörfler, axeld@pinc-software.de.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef DRIVES_PAGE_H
|
|
#define DRIVES_PAGE_H
|
|
|
|
|
|
#include "BootMenu.h"
|
|
#include "WizardPageView.h"
|
|
|
|
|
|
class BListView;
|
|
class BTextView;
|
|
class BScrollView;
|
|
class DriveItem;
|
|
class WizardView;
|
|
|
|
|
|
class DrivesPage : public WizardPageView {
|
|
public:
|
|
DrivesPage(WizardView* wizardView,
|
|
const BootMenuList& menus,
|
|
BMessage* settings, const char* name);
|
|
virtual ~DrivesPage();
|
|
|
|
virtual void PageCompleted();
|
|
|
|
protected:
|
|
void AttachedToWindow();
|
|
void MessageReceived(BMessage* message);
|
|
|
|
private:
|
|
void _FillDrivesView(const BootMenuList& menus);
|
|
DriveItem* _SelectedDriveItem();
|
|
void _UpdateWizardButtons(DriveItem* item);
|
|
|
|
private:
|
|
WizardView* fWizardView;
|
|
BListView* fDrivesView;
|
|
bool fHasInstallableItems;
|
|
};
|
|
|
|
|
|
#endif // DRIVES_PAGE_H
|