tcp: Fix 64 bit build with debugging features enabled.
[haiku.git] / src / preferences / notifications / GeneralView.h
blob909fbd802eaf47f89fab0cf0060ccea6d12ce10b
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 _GENERAL_VIEW_H
7 #define _GENERAL_VIEW_H
9 #include "SettingsPane.h"
11 class BCheckBox;
12 class BStringView;
13 class BTextControl;
15 class GeneralView : public SettingsPane {
16 public:
17 GeneralView(SettingsHost* host);
19 virtual void AttachedToWindow();
20 virtual void MessageReceived(BMessage* msg);
22 // SettingsPane hooks
23 status_t Load(BMessage&);
24 status_t Save(BMessage&);
25 status_t Revert();
27 private:
28 BCheckBox* fNotificationBox;
29 BCheckBox* fAutoStart;
30 BTextControl* fTimeout;
31 BCheckBox* fHideAll;
33 bool _CanFindServer(entry_ref* ref);
34 bool _IsServerRunning();
37 #endif // _GENERAL_VIEW_H