vfs: check userland buffers before reading them.
[haiku.git] / src / apps / bootmanager / WizardPageView.h
blobe421db7e233cb0807654b50cc66e2d953d3bf46c
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 WIZARD_PAGE_VIEW_H
9 #define WIZARD_PAGE_VIEW_H
12 #include <Button.h>
13 #include <Message.h>
14 #include <TextView.h>
15 #include <View.h>
18 class WizardPageView : public BView {
19 public:
20 WizardPageView(BMessage* settings, BRect frame,
21 const char* name,
22 uint32 resizingMode = B_FOLLOW_ALL,
23 uint32 flags = B_WILL_DRAW);
24 WizardPageView(BMessage* settings,
25 const char* name);
26 virtual ~WizardPageView();
28 virtual void PageCompleted();
30 virtual BTextView* CreateDescription(BRect frame, const char* name,
31 const char* description);
32 virtual BTextView* CreateDescription(const char* name,
33 const char* description);
35 virtual void MakeHeading(BTextView* view);
36 virtual void LayoutDescriptionVertically(BTextView* view);
38 private:
39 void _BuildUI();
41 protected:
42 BMessage* fSettings;
46 #endif // WIZARD_PAGE_VIEW_H