Changeset View
Changeset View
Standalone View
Standalone View
plugins/pausemusic/pausemusicplugin.h
Show All 33 Lines | |||||
34 | class PauseMusicPlugin | 34 | class PauseMusicPlugin | ||
35 | : public KdeConnectPlugin | 35 | : public KdeConnectPlugin | ||
36 | { | 36 | { | ||
37 | Q_OBJECT | 37 | Q_OBJECT | ||
38 | 38 | | |||
39 | public: | 39 | public: | ||
40 | explicit PauseMusicPlugin(QObject* parent, const QVariantList& args); | 40 | explicit PauseMusicPlugin(QObject* parent, const QVariantList& args); | ||
41 | 41 | | |||
42 | bool receivePackage(const NetworkPackage& np) override; | 42 | bool receivePacket(const NetworkPacket& np) override; | ||
43 | void connected() override { } | 43 | void connected() override { } | ||
44 | 44 | | |||
45 | private: | 45 | private: | ||
46 | QSet<QString> pausedSources; | 46 | QSet<QString> pausedSources; | ||
47 | bool muted; | 47 | bool muted; | ||
48 | 48 | | |||
49 | }; | 49 | }; | ||
50 | 50 | | |||
51 | #endif | 51 | #endif |