28 lines
661 B
C++
28 lines
661 B
C++
/*
|
|
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 {
|
|
class GroupCall;
|
|
} // namespace Calls
|
|
|
|
namespace Calls::Group {
|
|
|
|
void SettingsBox(
|
|
not_null<Ui::GenericBox*> box,
|
|
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
|