2022-04-17 10:30:08 +00:00
|
|
|
/*
|
|
|
|
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
|
|
|
|
|
2022-04-17 11:00:21 +00:00
|
|
|
template <typename Object>
|
|
|
|
class object_ptr;
|
|
|
|
|
2022-04-17 10:30:08 +00:00
|
|
|
namespace Ui {
|
2022-04-17 11:00:21 +00:00
|
|
|
class BoxContent;
|
2022-04-17 10:30:08 +00:00
|
|
|
} // namespace Ui
|
|
|
|
|
|
|
|
namespace Window {
|
|
|
|
class SessionController;
|
|
|
|
} // namespace Main
|
|
|
|
|
|
|
|
class PeerData;
|
|
|
|
|
2022-04-17 11:00:21 +00:00
|
|
|
[[nodiscard]] object_ptr<Ui::BoxContent> ReportItemsBox(
|
|
|
|
not_null<PeerData*> peer,
|
|
|
|
MessageIdsList ids);
|
2022-04-17 11:48:53 +00:00
|
|
|
[[nodiscard]] object_ptr<Ui::BoxContent> ReportProfilePhotoBox(
|
|
|
|
not_null<PeerData*> peer,
|
|
|
|
not_null<PhotoData*> photo);
|
2022-04-17 10:30:08 +00:00
|
|
|
void ShowReportPeerBox(
|
|
|
|
not_null<Window::SessionController*> window,
|
|
|
|
not_null<PeerData*> peer);
|