Commit 1204da79 authored by Piyush Aggarwal's avatar Piyush Aggarwal 🎮

add missing header to fix build with MSVC 14.27

parent 87db95b2
Pipeline #30965 passed with stage
in 5 minutes and 47 seconds
......@@ -16,6 +16,7 @@
#include <winrt/Windows.Media.Control.h>
#include <winrt/Windows.Storage.Streams.h>
#include <winrt/Windows.Foundation.Collections.h>
using namespace winrt;
using namespace Windows::Media::Control;
......@@ -37,7 +38,7 @@ class Q_DECL_EXPORT MprisControlPlugin
private:
std::optional<GlobalSystemMediaTransportControlsSessionManager> sessionManager;
QHash<QString, GlobalSystemMediaTransportControlsSession> playerList;
std::vector<GlobalSystemMediaTransportControlsSession::PlaybackInfoChanged_revoker> playbackInfoChangedHandlers;
std::vector<GlobalSystemMediaTransportControlsSession::MediaPropertiesChanged_revoker> mediaPropertiesChangedHandlers;
std::vector<GlobalSystemMediaTransportControlsSession::TimelinePropertiesChanged_revoker> timelinePropertiesChangedHandlers;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment