File indexing completed on 2024-02-18 16:20:10

0001 /*
0002     SPDX-FileCopyrightText: 2022 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "core/output.h"
0010 
0011 namespace KWin
0012 {
0013 
0014 class PlaceholderOutput : public Output
0015 {
0016     Q_OBJECT
0017 
0018 public:
0019     PlaceholderOutput(const QSize &size, qreal scale = 1);
0020     ~PlaceholderOutput() override;
0021 
0022     RenderLoop *renderLoop() const override;
0023 
0024 private:
0025     std::unique_ptr<RenderLoop> m_renderLoop;
0026 };
0027 
0028 } // namespace KWin