2 * Copyright 2010-2017, Haiku, Inc. All Rights Reserved.
3 * Copyright 2009, Pier Luigi Fiorini.
4 * Distributed under the terms of the MIT License.
6 #ifndef _SETTINGS_PANE_H
7 #define _SETTINGS_PANE_H
16 class SettingsPane
: public BView
{
18 SettingsPane(const char* name
, SettingsHost
* host
);
20 void SettingsChanged(bool showExample
);
22 virtual status_t
Load(BMessage
&) = 0;
23 virtual status_t
Save(BMessage
&) = 0;
24 virtual status_t
Revert() = 0;
25 virtual bool RevertPossible() = 0;
26 virtual status_t
Defaults() = 0;
27 virtual bool DefaultsPossible() = 0;
28 virtual bool UseDefaultRevertButtons() = 0;
34 #endif // _SETTINGS_PANE_H