75a8db1ec5
For non-library code, this is simpler and more concise
26 lines
527 B
C++
26 lines
527 B
C++
/**
|
|
* SPDX-FileCopyrightText: 2018 Albert Vaca Cintora <albertvaka@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "abstractremoteinput.h"
|
|
|
|
struct FakeKey;
|
|
|
|
class X11RemoteInput : public AbstractRemoteInput
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit X11RemoteInput(QObject *parent);
|
|
~X11RemoteInput() override;
|
|
|
|
bool handlePacket(const NetworkPacket &np) override;
|
|
bool hasKeyboardSupport() override;
|
|
|
|
private:
|
|
FakeKey *m_fakekey;
|
|
};
|