/* 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 namespace ChatHelpers { class Show; } // namespace ChatHelpers namespace Data { struct MessageReactionsTopPaid; } // namespace Data namespace Main { class Session; } // namespace Main namespace Ui { class BoxContent; class GenericBox; } // namespace Ui namespace Calls::Group::Ui { using namespace ::Ui; struct StarsColoring; } // namespace Calls::Group::Ui namespace Calls::Group { [[nodiscard]] int MaxVideoStreamStarsCount(not_null session); struct VideoStreamStarsBoxArgs { std::shared_ptr show; std::vector top; int min = 0; int current = 0; bool sending = false; bool admin = false; Fn save; QString name; }; void VideoStreamStarsBox( not_null box, VideoStreamStarsBoxArgs &&args); [[nodiscard]] object_ptr MakeVideoStreamStarsBox( VideoStreamStarsBoxArgs &&args); } // namespace Calls::Group