/* This file is part of Telegram Desktop, the official desktop application for the Telegram messaging service. For license and copyright information please follow this link: https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL */ #pragma once #include "settings/settings_type.h" namespace Window { class Controller; class SessionController; } // namespace Window namespace Ui { class VerticalLayout; } // namespace Ui namespace Settings { [[nodiscard]] Type MainId(); void SetupLanguageButton( not_null window, not_null container); bool HasInterfaceScale(); void SetupInterfaceScale( not_null window, not_null container, bool icon = true); void SetupValidatePhoneNumberSuggestion( not_null controller, not_null container, Fn showOther); void SetupValidatePasswordSuggestion( not_null controller, not_null container, Fn showOther); void OpenFaq(base::weak_ptr weak); void OpenAskQuestionConfirm(not_null window); } // namespace Settings