| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- /*
- 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[];
- class Cover;
- struct Origin;
- object_ptr<Ui::RpWidget> SetupDetails(
- not_null<Controller*> controller,
- not_null<Ui::RpWidget*> parent,
- not_null<PeerData*> peer,
- Origin origin);
- object_ptr<Ui::RpWidget> SetupDetails(
- not_null<Controller*> controller,
- not_null<Ui::RpWidget*> parent,
- not_null<Data::ForumTopic*> topic);
- object_ptr<Ui::RpWidget> SetupActions(
- not_null<Controller*> controller,
- not_null<Ui::RpWidget*> parent,
- not_null<PeerData*> peer);
- object_ptr<Ui::RpWidget> SetupChannelMembersAndManage(
- not_null<Controller*> controller,
- not_null<Ui::RpWidget*> parent,
- not_null<PeerData*> peer);
- Cover *AddCover(
- not_null<Ui::VerticalLayout*> container,
- not_null<Controller*> controller,
- not_null<PeerData*> peer,
- Data::ForumTopic *topic);
- void AddDetails(
- not_null<Ui::VerticalLayout*> container,
- not_null<Controller*> controller,
- not_null<PeerData*> peer,
- Data::ForumTopic *topic,
- Origin origin);
- } // namespace Info::Profile
|