kdeconnect-kde/plugins/mousepad/waylandremoteinput.h
Nicolas Fella 7704726857 [plugins/mousepad] Port away from KWayland
Use QtWaylandScanner to implement the protocol directly
2022-05-02 20:15:43 +02:00

32 lines
632 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