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
|
|
|
*/
|
|
|
|
|
2018-04-02 19:20:24 +01:00
|
|
|
#ifndef X11REMOTEINPUT_H
|
|
|
|
#define X11REMOTEINPUT_H
|
2017-06-29 00:57:46 +01:00
|
|
|
|
2018-04-02 19:20:24 +01:00
|
|
|
#include "abstractremoteinput.h"
|
2017-06-29 00:57:46 +01:00
|
|
|
|
2018-04-02 19:20:24 +01:00
|
|
|
struct FakeKey;
|
2017-06-29 00:57:46 +01:00
|
|
|
|
2022-09-10 22:23:52 +01:00
|
|
|
class X11RemoteInput : public AbstractRemoteInput
|
2017-06-29 00:57:46 +01:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2022-09-10 22:23:52 +01:00
|
|
|
explicit X11RemoteInput(QObject *parent);
|
2018-04-02 19:20:24 +01:00
|
|
|
~X11RemoteInput() override;
|
2017-06-29 00:57:46 +01:00
|
|
|
|
2022-09-10 22:23:52 +01:00
|
|
|
bool handlePacket(const NetworkPacket &np) override;
|
2018-05-12 16:51:55 +01:00
|
|
|
bool hasKeyboardSupport() override;
|
2018-04-02 19:20:24 +01:00
|
|
|
|
|
|
|
private:
|
2022-09-10 22:23:52 +01:00
|
|
|
FakeKey *m_fakekey;
|
2017-06-29 00:57:46 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|