/** * SPDX-FileCopyrightText: 2018 Friedrich W. H. Kossebau * SPDX-FileCopyrightText: 2019 Piyush Aggarwal * * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL */ #pragma once #include #define PACKET_TYPE_FINDMYPHONE_REQUEST QStringLiteral("kdeconnect.findmyphone.request") class FindThisDevicePlugin : public KdeConnectPlugin { Q_OBJECT Q_CLASSINFO("D-Bus Interface", "org.kde.kdeconnect.device.findthisdevice") public: using KdeConnectPlugin::KdeConnectPlugin; QString dbusPath() const override; void receivePacket(const NetworkPacket &np) override; };