2017-06-29 00:57:46 +01:00
|
|
|
/**
|
2020-08-17 10:48:10 +01:00
|
|
|
* SPDX-FileCopyrightText: 2018 Albert Vaca Cintora <albertvaka@gmail.com>
|
2017-06-29 00:57:46 +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
|
2017-06-29 00:57:46 +01:00
|
|
|
*/
|
|
|
|
|
2023-07-21 19:22:59 +01:00
|
|
|
#pragma once
|
2017-06-29 00:57:46 +01:00
|
|
|
|
2020-01-23 15:57:08 +00:00
|
|
|
#include <QLoggingCategory>
|
2017-06-29 00:57:46 +01:00
|
|
|
#include <QObject>
|
|
|
|
|
2023-08-06 11:00:02 +01:00
|
|
|
#include "plugin_mousepad_debug.h"
|
2018-04-02 19:20:24 +01:00
|
|
|
#include <core/networkpacket.h>
|
2017-06-29 00:57:46 +01:00
|
|
|
|
2022-09-10 22:23:52 +01:00
|
|
|
class AbstractRemoteInput : public QObject
|
2017-06-29 00:57:46 +01:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2022-09-10 22:23:52 +01:00
|
|
|
explicit AbstractRemoteInput(QObject *parent = nullptr);
|
2017-06-29 00:57:46 +01:00
|
|
|
|
2022-09-10 22:23:52 +01:00
|
|
|
virtual bool handlePacket(const NetworkPacket &np) = 0;
|
|
|
|
virtual bool hasKeyboardSupport()
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
};
|
2017-06-29 00:57:46 +01:00
|
|
|
};
|