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 16class BRadioButton; 17class BTextControl; 18 19class ScreenSaverSettings; 20 21 22class PasswordWindow : public BWindow { 23public: 24 PasswordWindow(ScreenSaverSettings& settings); 25 26 virtual void MessageReceived(BMessage* message); 27 28 void Update(); 29 30private: 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