xref: /haiku/src/bin/screen_blanker/PasswordWindow.h (revision 13ab80745a7ac431e04f7b87e142d25e0f5cc797)
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 <TextControl.h>
14 #include <Window.h>
15 
16 
17 const static int32 kMsgUnlock = 'ULMS';
18 
19 
20 class PasswordWindow : public BWindow {
21 	public:
22 		PasswordWindow();
23 
Password()24 		const char *Password() { return fPassword->Text(); }
25 		void SetPassword(const char* text);
26 
27 	private:
28 		BTextControl *fPassword;
29 };
30 
31 #endif // PASSWORDWINDOW_H
32