haiku/src/kits/storage/PartitioningDialog.h
Ingo Weinhold 0f04e70bd8 Added the GUI part of the dialog. Now it is fully functional (maybe not nice, but functional ;-).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:44:38 +00:00

42 lines
987 B
C++

//----------------------------------------------------------------------
// This software is part of the OpenBeOS distribution and is covered
// by the OpenBeOS license.
//---------------------------------------------------------------------
#ifndef _PARTITIONING_DIALOG_H
#define _PARTITIONING_DIALOG_H
#include <OS.h>
#include <Window.h>
class BDiskScannerParameterEditor;
namespace BPrivate {
class PartitioningDialog : public BWindow {
public:
PartitioningDialog(BRect dialogCenter);
virtual ~PartitioningDialog();
virtual void MessageReceived(BMessage *message);
virtual bool QuitRequested();
status_t Go(BDiskScannerParameterEditor *editor, bool *cancelled);
private:
status_t _Init(BDiskScannerParameterEditor *editor);
private:
BDiskScannerParameterEditor *fEditor;
BView *fEditorView;
sem_id fBlocker;
bool *fCancelled;
BPoint fCenter;
};
} // namespace BPrivate
using BPrivate::PartitioningDialog;
#endif // _PARTITIONING_DIALOG_H