1
0
mirror of https://github.com/KDE/krfb synced 2026-07-01 07:41:17 -07:00
Files
krfb/events/x11/x11events.h
Nicolas Fella f5df4d7603 Add and make use of ECM clang-format integration
This formats the code according to the KDE coding style and ensures it stays that way
2024-08-08 13:16:41 +02:00

26 lines
543 B
C++

/*
This file is part of the KDE project
SPDX-FileCopyrightText: 2016 Oleg Chernovskiy <kanedias@xaker.ru>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef EVENTS_X11EVENTS_H
#define EVENTS_X11EVENTS_H
#include "../../krfb/events.h"
class X11EventHandler : public EventHandler
{
Q_OBJECT
public:
explicit X11EventHandler(QObject *parent = nullptr)
: EventHandler(parent) {};
void handleKeyboard(bool down, rfbKeySym key) override;
void handlePointer(int buttonMask, int x, int y) override;
};
#endif