Fix FreeBSD build.
[haiku.git] / src / preferences / screensaver / PasswordWindow.h
blobeee262113e47a71a75ec989630f0fcfc3fc17127
1 /*
2 * Copyright 2003-2013 Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Michael Phipps
7 * Jérôme Duval, jerome.duval@free.fr
8 */
9 #ifndef PASSWORD_WINDOW_H
10 #define PASSWORD_WINDOW_H
13 #include <Window.h>
16 class BRadioButton;
17 class BTextControl;
19 class ScreenSaverSettings;
22 class PasswordWindow : public BWindow {
23 public:
24 PasswordWindow(ScreenSaverSettings& settings);
26 virtual void MessageReceived(BMessage* message);
28 void Update();
30 private:
31 void _Setup();
33 BRadioButton* fUseCustom;
34 BRadioButton* fUseNetwork;
35 BTextControl* fConfirmControl;
36 BTextControl* fPasswordControl;
38 ScreenSaverSettings& fSettings;
42 #endif // PASSWORD_WINDOW_H