2 * Copyright 2010, 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
15 const int32 kSettingChanged
= '_STC';
17 class SettingsPane
: public BView
{
19 SettingsPane(const char* name
, SettingsHost
* host
);
21 virtual void MessageReceived(BMessage
* msg
);
23 virtual status_t
Load(BMessage
&) = 0;
24 virtual status_t
Save(BMessage
&) = 0;
25 virtual status_t
Revert() = 0;
31 #endif // _SETTINGS_PANE_H