btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / apps / bootmanager / PartitionsPage.h
blob8cc106c0db55c51bf8d74754eaa36719b5837ede
1 /*
2 * Copyright 2008-2011, Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Michael Pfeiffer <laplace@users.sourceforge.net>
7 */
8 #ifndef PARTITONS_PAGE_H
9 #define PARTITONS_PAGE_H
12 #include "WizardPageView.h"
15 class BGridView;
16 class BTextView;
17 class BScrollView;
20 class PartitionsPage : public WizardPageView {
21 public:
22 PartitionsPage(BMessage* settings,
23 const char* name);
24 virtual ~PartitionsPage();
26 virtual void PageCompleted();
28 private:
29 void _BuildUI();
30 void _FillPartitionsView(BView* view);
31 void _CreateSizeText(int64 size, BString* text);
32 BMessage* _CreateControlMessage(uint32 what,
33 int32 partitionIndex);
35 private:
36 BTextView* fDescription;
37 BGridView* fPartitions;
41 #endif // PARTITONS_PAGE_H