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 _GENERAL_VIEW_H
7 #define _GENERAL_VIEW_H
9 #include "SettingsPane.h"
15 class GeneralView
: public SettingsPane
{
17 GeneralView(SettingsHost
* host
);
19 virtual void AttachedToWindow();
20 virtual void MessageReceived(BMessage
* msg
);
23 status_t
Load(BMessage
&);
24 status_t
Save(BMessage
&);
28 BCheckBox
* fNotificationBox
;
29 BCheckBox
* fAutoStart
;
30 BTextControl
* fTimeout
;
33 bool _CanFindServer(entry_ref
* ref
);
34 bool _IsServerRunning();
37 #endif // _GENERAL_VIEW_H