2019-08-31 11:40:43 +01:00
|
|
|
/**
|
2020-08-17 10:48:10 +01:00
|
|
|
* SPDX-FileCopyrightText: 2019 Piyush Aggarwal <piyushaggarwal002@gmail.com>
|
2019-08-31 11:40:43 +01:00
|
|
|
*
|
2020-08-17 10:48:10 +01:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
2019-08-31 11:40:43 +01:00
|
|
|
*/
|
|
|
|
|
2023-07-21 19:22:59 +01:00
|
|
|
#pragma once
|
2019-08-31 11:40:43 +01:00
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
|
|
|
#include <core/kdeconnectplugin.h>
|
|
|
|
|
2023-07-22 10:37:35 +01:00
|
|
|
class ScreensaverInhibitPlugin : public KdeConnectPlugin
|
2019-08-31 11:40:43 +01:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2022-09-10 22:23:52 +01:00
|
|
|
explicit ScreensaverInhibitPlugin(QObject *parent, const QVariantList &args);
|
2019-08-31 11:40:43 +01:00
|
|
|
~ScreensaverInhibitPlugin() override;
|
|
|
|
|
2022-09-10 22:23:52 +01:00
|
|
|
bool receivePacket(const NetworkPacket &np) override;
|
2019-08-31 11:40:43 +01:00
|
|
|
};
|