kwin/plugins/platforms/x11/standalone/x11placeholderoutput.h
Vlad Zahorodnii 8a606e47c4 platforms/x11: Introduce X11PlaceholderOutput
It is useful in case the Xrandr extension is unavailable or no outputs
are connected.
2020-12-21 09:20:16 +00:00

27 lines
501 B
C++

/*
SPDX-FileCopyrightText: 2020 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include "abstract_output.h"
namespace KWin
{
class X11PlaceholderOutput : public AbstractOutput
{
Q_OBJECT
public:
explicit X11PlaceholderOutput(QObject *parent = nullptr);
QString name() const override;
QRect geometry() const override;
int refreshRate() const override;
QSize pixelSize() const override;
};
} // namespace KWin