/* SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL SPDX-FileCopyrightText: 2024 David Redondo */ #pragma once #include #include #include #include enum class BarrierFailureReason { Diagonal, NotOnEdge, BetweenScreensOrDoesNotFill, }; std::variant> checkAndMakeBarrier(int x1, int y1, int x2, int y2, const QList &screenGeometries);