tdesktop/Telegram/SourceFiles/platform/mac/touchbar/mac_touchbar_media_view.h

23 lines
681 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 "media/view/media_view_playback_controls.h"
#include "media/view/media_view_overlay_widget.h"
namespace TouchBar {
void SetupMediaViewTouchBar(
WId winId,
not_null<Media::View::PlaybackControls::Delegate*> controlsDelegate,
rpl::producer<Media::Player::TrackState> trackState,
rpl::producer<Media::View::OverlayWidget::TouchBarItemType> display,
rpl::producer<bool> fullscreenToggled);
} // namespace TouchBar