2017-11-07 11:53:05 +00:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
2018-01-03 10:23:14 +00:00
|
|
|
the official desktop application for the Telegram messaging service.
|
2017-11-07 11:53:05 +00:00
|
|
|
|
2018-01-03 10:23:14 +00:00
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
2017-11-07 11:53:05 +00:00
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
2019-09-13 12:22:54 +00:00
|
|
|
#include "base/object_ptr.h"
|
|
|
|
|
2017-11-07 11:53:05 +00:00
|
|
|
namespace Ui {
|
|
|
|
class RpWidget;
|
2018-02-07 12:40:37 +00:00
|
|
|
} // namespace Ui
|
2017-11-07 11:53:05 +00:00
|
|
|
|
2022-10-13 17:34:04 +00:00
|
|
|
namespace Data {
|
|
|
|
class ForumTopic;
|
|
|
|
} // namespace Data
|
2017-11-07 11:53:05 +00:00
|
|
|
|
2022-10-13 17:34:04 +00:00
|
|
|
namespace Info {
|
2017-11-07 11:53:05 +00:00
|
|
|
class Controller;
|
2022-10-13 17:34:04 +00:00
|
|
|
} // namespace Info
|
2017-11-07 11:53:05 +00:00
|
|
|
|
2022-10-13 17:34:04 +00:00
|
|
|
namespace Info::Profile {
|
2017-11-07 11:53:05 +00:00
|
|
|
|
|
|
|
object_ptr<Ui::RpWidget> SetupDetails(
|
|
|
|
not_null<Controller*> controller,
|
|
|
|
not_null<Ui::RpWidget*> parent,
|
|
|
|
not_null<PeerData*> peer);
|
|
|
|
|
2022-10-13 17:34:04 +00:00
|
|
|
object_ptr<Ui::RpWidget> SetupDetails(
|
|
|
|
not_null<Controller*> controller,
|
|
|
|
not_null<Ui::RpWidget*> parent,
|
|
|
|
not_null<Data::ForumTopic*> topic);
|
|
|
|
|
2017-11-07 11:53:05 +00:00
|
|
|
object_ptr<Ui::RpWidget> SetupActions(
|
|
|
|
not_null<Controller*> controller,
|
|
|
|
not_null<Ui::RpWidget*> parent,
|
|
|
|
not_null<PeerData*> peer);
|
|
|
|
|
2017-11-10 19:19:43 +00:00
|
|
|
object_ptr<Ui::RpWidget> SetupChannelMembers(
|
|
|
|
not_null<Controller*> controller,
|
|
|
|
not_null<Ui::RpWidget*> parent,
|
|
|
|
not_null<PeerData*> peer);
|
2018-02-07 12:40:37 +00:00
|
|
|
|
2022-10-13 17:34:04 +00:00
|
|
|
} // namespace Info::Profile
|