File indexing completed on 2024-05-19 16:35:22

0001 /*
0002     SPDX-FileCopyrightText: 2022 Xaver Hugl <xaver.hugl@gmail.com>
0003 
0004     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0005 */
0006 #pragma once
0007 
0008 #include <QObject>
0009 #include <memory>
0010 
0011 namespace KWin
0012 {
0013 class Output;
0014 }
0015 
0016 namespace KWaylandServer
0017 {
0018 
0019 class Display;
0020 class OutputOrderV1InterfacePrivate;
0021 
0022 class OutputOrderV1Interface : public QObject
0023 {
0024     Q_OBJECT
0025 public:
0026     explicit OutputOrderV1Interface(Display *display, QObject *parent);
0027     ~OutputOrderV1Interface() override;
0028 
0029     void setOutputOrder(const QVector<KWin::Output *> &outputOrder);
0030 
0031 private:
0032     std::unique_ptr<OutputOrderV1InterfacePrivate> d;
0033 };
0034 
0035 }