31 lines
628 B
C++
31 lines
628 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
|
|
*/
|
|
|
|
#ifndef WAYLANDREMOTEINPUT_H
|
|
#define WAYLANDREMOTEINPUT_H
|
|
|
|
#include "abstractremoteinput.h"
|
|
|
|
class FakeInput;
|
|
|
|
class WaylandRemoteInput : public AbstractRemoteInput
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit WaylandRemoteInput(QObject *parent);
|
|
~WaylandRemoteInput();
|
|
|
|
bool handlePacket(const NetworkPacket &np) override;
|
|
|
|
private:
|
|
void setupWaylandIntegration();
|
|
|
|
FakeInput *m_fakeInput;
|
|
bool m_waylandAuthenticationRequested;
|
|
};
|
|
|
|
#endif
|