KWin
Loading...
Searching...
No Matches
viewporter.h
Go to the documentation of this file.
1/*
2 SPDX-FileCopyrightText: 2020 Vlad Zahorodnii <vlad.zahorodnii@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 ViewporterInterfacePrivate;
18
27class KWIN_EXPORT ViewporterInterface : public QObject
28{
29 Q_OBJECT
30
31public:
32 explicit ViewporterInterface(Display *display, QObject *parent = nullptr);
33 ~ViewporterInterface() override;
34
35private:
36 std::unique_ptr<ViewporterInterfacePrivate> d;
37};
38
39} // namespace KWin
Class holding the Wayland server display loop.
Definition display.h:34
struct _XDisplay Display