kwin/src/wayland/output_order_v1_interface.h

36 lines
654 B
C
Raw Normal View History

/*
SPDX-FileCopyrightText: 2022 Xaver Hugl <xaver.hugl@gmail.com>
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#pragma once
#include <QObject>
#include <memory>
namespace KWin
{
class Output;
}
namespace KWaylandServer
{
class Display;
class OutputOrderV1InterfacePrivate;
class OutputOrderV1Interface : public QObject
{
Q_OBJECT
public:
explicit OutputOrderV1Interface(Display *display, QObject *parent);
~OutputOrderV1Interface() override;
void setOutputOrder(const QVector<KWin::Output *> &outputOrder);
private:
std::unique_ptr<OutputOrderV1InterfacePrivate> d;
};
}