xref: /haiku/src/preferences/screensaver/PasswordWindow.h (revision 020cbad9d40235a2c50a81a42d69912a5ff8fbc4)
1 /*
2  * Copyright 2003-2007, Haiku, Inc. All Rights Reserved.
3  * Distributed under the terms of the MIT License.
4  *
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
11 
12 
13 #include "ScreenSaverSettings.h"
14 
15 
16 #include <Window.h>
17 
18 
19 class BRadioButton;
20 class BTextControl;
21 
22 
23 class PasswordWindow : public BWindow {
24 	public:
25 						PasswordWindow(ScreenSaverSettings &settings);
26 
27 		virtual void	MessageReceived(BMessage *message);
28 
29 		void			Update();
30 
31 	private:
32 		void			_Setup();
33 
34 		BRadioButton	*fUseCustom;
35 		BRadioButton	*fUseNetwork;
36 		BTextControl	*fConfirmControl;
37 		BTextControl	*fPasswordControl;
38 
39 		ScreenSaverSettings &fSettings;
40 };
41 
42 #endif	// PASSWORD_WINDOW_H
43