/* 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_common.h" namespace Main { class Account; } // namespace Main namespace Window { class Controller; } // namespace Window namespace Settings { void SetupConnectionType( not_null controller, not_null account, not_null container); bool HasUpdate(); void SetupUpdate(not_null container); void SetupSystemIntegrationContent( Window::SessionController *controller, not_null container); void SetupAnimations(not_null container); class Advanced : public Section { public: Advanced( QWidget *parent, not_null controller); rpl::producer sectionShowOther() override; private: void setupContent(not_null controller); rpl::event_stream _showOther; }; } // namespace Settings