File indexing completed on 2024-03-24 04:59:47
0001 /** 0002 * SPDX-FileCopyrightText: 2013 Albert Vaca <albertvaka@gmail.com> 0003 * SPDX-FileCopyrightText: 2020 Aditya Mehra <aix.m@outlook.com> 0004 * 0005 * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0006 */ 0007 0008 #pragma once 0009 0010 #include <core/kdeconnectplugin.h> 0011 0012 #define PACKET_TYPE_BIGSCREEN_STT QStringLiteral("kdeconnect.bigscreen.stt") 0013 0014 class BigscreenPlugin : public KdeConnectPlugin 0015 { 0016 Q_OBJECT 0017 Q_CLASSINFO("D-Bus Interface", "org.kde.kdeconnect.device.bigscreen") 0018 0019 public: 0020 using KdeConnectPlugin::KdeConnectPlugin; 0021 void receivePacket(const NetworkPacket &np) override; 0022 QString dbusPath() const override; 0023 0024 Q_SIGNALS: 0025 Q_SCRIPTABLE void messageReceived(const QString &message); 0026 };