KWin
Loading...
Searching...
No Matches
xdgoutput_v1.h
Go to the documentation of this file.
1/*
2 SPDX-FileCopyrightText: 2018 David Edmundson <kde@davidedmundson.co.uk>
3 SPDX-FileCopyrightText: 2020 David Edmundson <kde@davidedmundson.co.uk>
4
5 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
6*/
7#pragma once
8
9#include "kwin_export.h"
10
11#include <QObject>
12#include <memory>
13
14namespace KWin
15{
16class Display;
17class OutputInterface;
18class XdgOutputManagerV1InterfacePrivate;
19
23class KWIN_EXPORT XdgOutputManagerV1Interface : public QObject
24{
25 Q_OBJECT
26
27public:
28 explicit XdgOutputManagerV1Interface(Display *display, QObject *parent = nullptr);
30
31 void offer(OutputInterface *output);
32
33private:
34 std::unique_ptr<XdgOutputManagerV1InterfacePrivate> d;
35};
36
37}
Class holding the Wayland server display loop.
Definition display.h:34
struct _XDisplay Display