1 /* 2 * Copyright 2003-2013 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 <Window.h> 14 15 16 class BRadioButton; 17 class BTextControl; 18 19 class ScreenSaverSettings; 20 21 22 class PasswordWindow : public BWindow { 23 public: 24 PasswordWindow(ScreenSaverSettings& settings); 25 26 virtual void MessageReceived(BMessage* message); 27 28 void Update(); 29 30 private: 31 void _Setup(); 32 33 BRadioButton* fUseCustom; 34 BRadioButton* fUseNetwork; 35 BTextControl* fConfirmControl; 36 BTextControl* fPasswordControl; 37 38 ScreenSaverSettings& fSettings; 39 }; 40 41 42 #endif // PASSWORD_WINDOW_H 43