/* * Copyright (c) 2021, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include class MailSettingsWindow final : public GUI::Window { C_OBJECT(MailSettingsWindow) private: MailSettingsWindow(); void reset_default_values(); void write_values(); String m_server; String m_port; bool m_tls { false }; String m_email; Vector m_common_ports; RefPtr m_server_inputbox; RefPtr m_port_combobox; RefPtr m_tls_checkbox; RefPtr m_email_inputbox; RefPtr m_reset_button; RefPtr m_ok_button; RefPtr m_cancel_button; RefPtr m_apply_button; };