tdesktop/Telegram/SourceFiles/calls/group/calls_group_settings.h

28 lines
661 B
C
Raw Normal View History

/*
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;
} // namespace Calls
2020-11-28 16:18:51 +00:00
namespace Calls::Group {
void SettingsBox(
not_null<Ui::GenericBox*> box,
2020-11-28 16:18:51 +00:00
not_null<GroupCall*> call);
[[nodiscard]] std::pair<Fn<void()>, rpl::lifetime> ShareInviteLinkAction(
not_null<PeerData*> peer,
Fn<void(object_ptr<Ui::BoxContent>)> showBox,
Fn<void(QString)> showToast);
} // namespace Calls::Group