KWin
Loading...
Searching...
No Matches
keystate.h
Go to the documentation of this file.
1/*
2 SPDX-FileCopyrightText: 2019 Aleix Pol Gonzalez <aleixpol@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#pragma once
8
9#include "kwin_export.h"
10
11#include <QObject>
12#include <memory>
13
14namespace KWin
15{
16class Display;
17class KeyStateInterfacePrivate;
18
22class KWIN_EXPORT KeyStateInterface : public QObject
23{
24 Q_OBJECT
25
26public:
27 explicit KeyStateInterface(Display *display, QObject *parent = nullptr);
29
30private:
31 std::unique_ptr<KeyStateInterfacePrivate> d;
32};
33
34}
Class holding the Wayland server display loop.
Definition display.h:34
Exposes key states to wayland clients.
Definition keystate.h:23
~KeyStateInterface() override
struct _XDisplay Display