1/* 2 * Copyright 2008-2011, Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Michael Pfeiffer <laplace@users.sourceforge.net> 7 */ 8#ifndef PARTITONS_PAGE_H 9#define PARTITONS_PAGE_H 10 11 12#include "WizardPageView.h" 13 14 15class BGridView; 16class BTextView; 17class BScrollView; 18 19 20class PartitionsPage : public WizardPageView { 21public: 22 PartitionsPage(BMessage* settings, 23 const char* name); 24 virtual ~PartitionsPage(); 25 26 virtual void PageCompleted(); 27 28private: 29 void _BuildUI(); 30 void _FillPartitionsView(BView* view); 31 void _CreateSizeText(int64 size, BString* text); 32 BMessage* _CreateControlMessage(uint32 what, 33 int32 partitionIndex); 34 35private: 36 BTextView* fDescription; 37 BGridView* fPartitions; 38}; 39 40 41#endif // PARTITONS_PAGE_H 42