kdeconnect-kde/plugins/mousepad/waylandremoteinput.h

33 lines
632 B
C
Raw Normal View History

/**
* 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