/* 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 "base/unique_qptr.h" namespace Webrtc { class Environment; struct DeviceResolvedId; enum class DeviceType : uchar; } // namespace Webrtc namespace Ui { class RpWidget; class PopupMenu; } // namespace Ui namespace Calls { struct DeviceSelection { Webrtc::DeviceType type; rpl::producer chosen; }; [[nodiscard]] base::unique_qptr MakeDeviceSelectionMenu( not_null parent, not_null environment, std::vector types, Fn choose); } // namespace Calls