* The user of an editor needed knowledge about the editor in order to make use of it. * Furthermore, the BPartitionParameterEditor exposed type specific functionality that it shouldn't know anything about, either. * We may now define a number of known parameters per editor type; right now there is only "type" as it's needed by DriveSetup. * Adapted all disk systems, and DriveSetup to the new API. * Renamed CreateParamsPanel, and InitializeParamsPanel to *ParametersPanel in DriveSetup. * They now share a common base class AbstractParametersPanel.
28 lines
632 B
C++
28 lines
632 B
C++
/*
|
|
* Copyright 2008-2013 Haiku, Inc. All rights reserved.
|
|
* Distributed under the terms of the MIT license.
|
|
*
|
|
* Authors:
|
|
* Stephan Aßmus <[email protected]>
|
|
* Axel Dörfler, [email protected].
|
|
*/
|
|
#ifndef INIT_PARAMETERS_PANEL_H
|
|
#define INIT_PARAMETERS_PANEL_H
|
|
|
|
|
|
#include "AbstractParametersPanel.h"
|
|
|
|
|
|
class InitParametersPanel : public AbstractParametersPanel {
|
|
public:
|
|
InitParametersPanel(BWindow* window,
|
|
const BString& diskSystem,
|
|
BPartition* partition);
|
|
virtual ~InitParametersPanel();
|
|
|
|
status_t Go(BString& name, BString& parameters);
|
|
};
|
|
|
|
|
|
#endif // INIT_PARAMETERS_PANEL_H
|