kwin/src/wayland/xdgoutput_v1_interface.h

38 lines
814 B
C
Raw Normal View History

/*
SPDX-FileCopyrightText: 2018 David Edmundson <kde@davidedmundson.co.uk>
2020-08-20 11:26:19 +00:00
SPDX-FileCopyrightText: 2020 David Edmundson <kde@davidedmundson.co.uk>
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
2022-12-16 20:08:44 +00:00
#pragma once
#include "kwin_export.h"
#include <QObject>
#include <memory>
2020-04-29 14:56:38 +00:00
namespace KWaylandServer
{
class Display;
class OutputInterface;
2020-08-20 11:26:19 +00:00
class XdgOutputManagerV1InterfacePrivate;
/**
* Global manager for XdgOutputs
*/
class KWIN_EXPORT XdgOutputManagerV1Interface : public QObject
{
Q_OBJECT
public:
explicit XdgOutputManagerV1Interface(Display *display, QObject *parent = nullptr);
2020-08-20 11:26:19 +00:00
~XdgOutputManagerV1Interface() override;
void offer(OutputInterface *output);
private:
std::unique_ptr<XdgOutputManagerV1InterfacePrivate> d;
};
}