1 /* 2 * Copyright 2003-2006, Haiku. 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 class PasswordWindow : public BWindow{ 20 public: 21 PasswordWindow(); 22 23 const char *Password() { return fPassword->Text(); } 24 void SetPassword(const char* text); 25 26 private: 27 BTextControl *fPassword; 28 }; 29 30 #endif // PASSWORDWINDOW_H 31