libroot/posix/stdio: Remove unused portions.
[haiku.git] / src / preferences / notifications / SettingsPane.h
blobb8cd77e87c8c788ffbe65620d3816e78275259eb
1 /*
2 * Copyright 2010-2017, Haiku, Inc. All Rights Reserved.
3 * Copyright 2009, Pier Luigi Fiorini.
4 * Distributed under the terms of the MIT License.
5 */
6 #ifndef _SETTINGS_PANE_H
7 #define _SETTINGS_PANE_H
9 #include <View.h>
11 class BNode;
13 class SettingsHost;
16 class SettingsPane : public BView {
17 public:
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;
30 protected:
31 SettingsHost* fHost;
34 #endif // _SETTINGS_PANE_H