2020-11-28 14:07:36 +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
|
|
|
|
|
|
|
|
#include "ui/layers/generic_box.h"
|
|
|
|
|
|
|
|
namespace Calls {
|
2020-11-28 16:18:51 +00:00
|
|
|
class GroupCall;
|
2021-03-10 12:29:09 +00:00
|
|
|
} // namespace Calls
|
2020-11-28 16:18:51 +00:00
|
|
|
|
2021-03-10 12:29:09 +00:00
|
|
|
namespace Calls::Group {
|
|
|
|
|
|
|
|
void SettingsBox(
|
2020-11-28 14:07:36 +00:00
|
|
|
not_null<Ui::GenericBox*> box,
|
2020-11-28 16:18:51 +00:00
|
|
|
not_null<GroupCall*> call);
|
2020-11-28 14:07:36 +00:00
|
|
|
|
2021-03-15 18:40:59 +00:00
|
|
|
[[nodiscard]] std::pair<Fn<void()>, rpl::lifetime> ShareInviteLinkAction(
|
|
|
|
not_null<PeerData*> peer,
|
|
|
|
Fn<void(object_ptr<Ui::BoxContent>)> showBox,
|
|
|
|
Fn<void(QString)> showToast);
|
|
|
|
|
2021-03-10 12:29:09 +00:00
|
|
|
} // namespace Calls::Group
|