ladybird/Userland/Libraries/LibGUI/PasswordInputDialog.h

29 lines
657 B
C
Raw Normal View History

/*
* Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
* Copyright (c) 2022, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibGUI/Dialog.h>
namespace GUI {
class PasswordInputDialog : public Dialog {
C_OBJECT(PasswordInputDialog);
public:
virtual ~PasswordInputDialog() override = default;
static ExecResult show(Window* parent_window, ByteString& text_value, ByteString title, ByteString server, ByteString username);
private:
explicit PasswordInputDialog(Window* parent_window, ByteString title, ByteString server, ByteString username);
ByteString m_password;
};
}