Introduce MediaManager

Currently, this is only to pause playback of other media when something new starts playing.
In the future, it will also be used for other things, like call ringing, etc.
This commit is contained in:
Tobias Fella
2024-02-18 21:34:15 +01:00
parent b27bec3e16
commit d99fae333a
5 changed files with 78 additions and 1 deletions

9
src/mediamanager.cpp Normal file
View File

@@ -0,0 +1,9 @@
// SPDX-FileCopyrightText: 2023 Tobias Fella <tobias.fella@kde.org>
// SPDX-License-Identifier: LGPL-2.0-or-later
#include "mediamanager.h"
void MediaManager::startPlayback()
{
Q_EMIT playbackStarted();
}