kdeconnect-kde/plugins/pausemusic/pausemusicplugin.h

34 lines
645 B
C
Raw Normal View History

2013-06-06 04:57:06 +01:00
/**
* SPDX-FileCopyrightText: 2013 Albert Vaca <albertvaka@gmail.com>
2013-06-06 04:57:06 +01:00
*
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
2013-06-06 04:57:06 +01:00
*/
#ifndef PAUSEMUSICPLUGIN_H
#define PAUSEMUSICPLUGIN_H
2013-06-06 04:57:06 +01:00
#include <QObject>
#include <QSet>
#include <QString>
#include <core/kdeconnectplugin.h>
class PauseMusicPlugin : public KdeConnectPlugin
2013-06-06 04:57:06 +01:00
{
Q_OBJECT
2013-06-06 04:57:06 +01:00
public:
explicit PauseMusicPlugin(QObject *parent, const QVariantList &args);
bool receivePacket(const NetworkPacket &np) override;
void connected() override
{
}
2013-06-06 04:57:06 +01:00
private:
QSet<QString> pausedSources;
2019-04-28 20:31:39 +01:00
QSet<QString> mutedSinks;
2013-06-06 04:57:06 +01:00
};
#endif