/* 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 "base/object_ptr.h" namespace Ui { class RpWidget; class VerticalLayout; } // namespace Ui namespace Data { class ForumTopic; } // namespace Data namespace Info { class Controller; } // namespace Info namespace Info::Profile { extern const char kOptionShowPeerIdBelowAbout[]; extern const char kOptionShowChannelJoinedBelowAbout[]; class Cover; struct Origin; object_ptr SetupDetails( not_null controller, not_null parent, not_null peer, Origin origin); object_ptr SetupDetails( not_null controller, not_null parent, not_null topic); object_ptr SetupActions( not_null controller, not_null parent, not_null peer); object_ptr SetupChannelMembersAndManage( not_null controller, not_null parent, not_null peer); Cover *AddCover( not_null container, not_null controller, not_null peer, Data::ForumTopic *topic); void AddDetails( not_null container, not_null controller, not_null peer, Data::ForumTopic *topic, Origin origin); } // namespace Info::Profile