tcp: Fix 64 bit build with debugging features enabled.
[haiku.git] / src / preferences / notifications / SettingsPane.h
bloba14fd62a77be829dc290f4478eecab2bf8c82884
1 /*
2 * Copyright 2010, 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;
15 const int32 kSettingChanged = '_STC';
17 class SettingsPane : public BView {
18 public:
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;
27 protected:
28 SettingsHost* fHost;
31 #endif // _SETTINGS_PANE_H