kwin/src/kscreenintegration.h

24 lines
579 B
C++

/*
KWin - the KDE window manager
This file is part of the KDE project.
SPDX-FileCopyrightText: 2023 Xaver Hugl <xaver.hugl@gmail.com>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include "core/output.h"
#include "core/outputconfiguration.h"
#include <QList>
#include <optional>
namespace KWin
{
namespace KScreenIntegration
{
QString connectedOutputsHash(const QList<Output *> &outputs, bool isLidClosed);
std::optional<std::pair<OutputConfiguration, QList<Output *>>> readOutputConfig(const QList<Output *> &outputs, const QString &hash);
}
}