/* 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_session.h" #include "settings/settings_type.h" namespace Ui { class VerticalLayout; } // namespace Ui namespace Settings { class Sessions : public Section { public: Sessions( QWidget *parent, not_null controller); [[nodiscard]] rpl::producer title() override; void showFinished() override; private: void setupContent(); QPointer _terminateAll; QPointer _autoTerminate; }; void AddSessionInfoRow( not_null container, rpl::producer label, const QString &value, const style::icon &icon); namespace Builder { extern SectionBuildMethod SessionsSection; } // namespace Builder } // namespace Settings