tdesktop/Telegram/SourceFiles/info/profile/info_profile_actions.h

47 lines
1.0 KiB
C
Raw Normal View History

2017-11-07 11:53:05 +00:00
/*
This file is part of Telegram Desktop,
the official desktop application for the Telegram messaging service.
2017-11-07 11:53:05 +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;
} // namespace Ui
2017-11-07 11:53:05 +00:00
namespace Data {
class ForumTopic;
} // namespace Data
2017-11-07 11:53:05 +00:00
namespace Info {
2017-11-07 11:53:05 +00:00
class Controller;
} // namespace Info
2017-11-07 11:53:05 +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);
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);
object_ptr<Ui::RpWidget> SetupChannelMembers(
not_null<Controller*> controller,
not_null<Ui::RpWidget*> parent,
not_null<PeerData*> peer);
} // namespace Info::Profile