/* 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 Webrtc { class AudioInputTester; } // namespace Webrtc namespace Calls { class GroupCall; } // namespace Calls namespace Calls::Group { void SettingsBox( not_null box, not_null call); [[nodiscard]] std::pair, rpl::lifetime> ShareInviteLinkAction( not_null peer, std::shared_ptr show); class MicLevelTester final { public: explicit MicLevelTester(Fn show); [[nodiscard]] bool showTooltip() const; private: void check(); Fn _show; base::Timer _timer; std::unique_ptr _tester; int _loudCount = 0; int _quietCount = 0; }; } // namespace Calls::Group