fat: Greatly simplify and clean up dosfs_get_file_map().
[haiku.git] / src / preferences / screensaver / PasswordWindow.h
blob0bf11c59d108ac037b5ba3f3ca67a4241338a779
1 /*
2 * Copyright 2003-2013 Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
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
13 #include <Window.h>
16 class BRadioButton;
17 class BTextControl;
19 class ScreenSaverSettings;
22 class PasswordWindow : public BWindow {
23 public:
24 PasswordWindow(ScreenSaverSettings& settings);
26 virtual void MessageReceived(BMessage* message);
28 void Update();
30 private:
31 void _Setup();
32 char* _SanitizeSalt(const char* password);
34 BRadioButton* fUseCustom;
35 BRadioButton* fUseNetwork;
36 BTextControl* fConfirmControl;
37 BTextControl* fPasswordControl;
39 ScreenSaverSettings& fSettings;
43 #endif // PASSWORD_WINDOW_H