Serenity Operating System
1/*
2 * Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
3 * Copyright (c) 2022, the SerenityOS developers.
4 *
5 * SPDX-License-Identifier: BSD-2-Clause
6 */
7
8#pragma once
9
10#include <LibGUI/Dialog.h>
11
12namespace GUI {
13
14class PasswordInputDialog : public Dialog {
15 C_OBJECT(PasswordInputDialog);
16
17public:
18 virtual ~PasswordInputDialog() override = default;
19
20 static ExecResult show(Window* parent_window, DeprecatedString& text_value, DeprecatedString title, DeprecatedString server, DeprecatedString username);
21
22private:
23 explicit PasswordInputDialog(Window* parent_window, DeprecatedString title, DeprecatedString server, DeprecatedString username);
24
25 DeprecatedString m_password;
26};
27
28}