File indexing completed on 2024-11-10 04:56:36

0001 /*
0002     SPDX-FileCopyrightText: 2020 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 X11StandaloneBackend;
0015 
0016 class X11PlaceholderOutput : public Output
0017 {
0018     Q_OBJECT
0019 
0020 public:
0021     explicit X11PlaceholderOutput(X11StandaloneBackend *backend, QObject *parent = nullptr);
0022 
0023     RenderLoop *renderLoop() const override;
0024 
0025     void updateEnabled(bool enabled);
0026 
0027 private:
0028     X11StandaloneBackend *m_backend;
0029 };
0030 
0031 } // namespace KWin