File indexing completed on 2024-04-28 05:30:22

0001 /*
0002     KWin - the KDE window manager
0003     This file is part of the KDE project.
0004 
0005     SPDX-FileCopyrightText: 2023 Xaver Hugl <xaver.hugl@gmail.com>
0006 
0007     SPDX-License-Identifier: GPL-2.0-or-later
0008 */
0009 #pragma once
0010 #include "core/output.h"
0011 #include "core/outputconfiguration.h"
0012 
0013 #include <QList>
0014 #include <optional>
0015 
0016 namespace KWin
0017 {
0018 namespace KScreenIntegration
0019 {
0020 
0021 QString connectedOutputsHash(const QList<Output *> &outputs, bool isLidClosed);
0022 std::optional<std::pair<OutputConfiguration, QList<Output *>>> readOutputConfig(const QList<Output *> &outputs, const QString &hash);
0023 }
0024 }