File indexing completed on 2024-05-05 04:58:51
0001 /** 0002 * SPDX-FileCopyrightText: 2018 Albert Vaca Cintora <albertvaka@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 */ 0006 0007 #pragma once 0008 0009 #include <QLoggingCategory> 0010 #include <QObject> 0011 0012 #include "plugin_mousepad_debug.h" 0013 #include <core/networkpacket.h> 0014 0015 class AbstractRemoteInput : public QObject 0016 { 0017 Q_OBJECT 0018 public: 0019 explicit AbstractRemoteInput(QObject *parent = nullptr); 0020 0021 virtual bool handlePacket(const NetworkPacket &np) = 0; 0022 virtual bool hasKeyboardSupport() 0023 { 0024 return false; 0025 }; 0026 };