/* * Copyright (c) 2021, the SerenityOS developers. * Copyright (c) 2021, Sam Atkins * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include class MailSettingsWidget final : public GUI::SettingsWindow::Tab { C_OBJECT(MailSettingsWidget) public: virtual void apply_settings() override; virtual void reset_default_values() override; private: MailSettingsWidget(); 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; };