KWin
Loading...
Searching...
No Matches
x11_standalone_placeholderoutput.h
Go to the documentation of this file.
1/*
2 SPDX-FileCopyrightText: 2020 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "core/output.h"
10
11namespace KWin
12{
13
14class X11StandaloneBackend;
15
17{
18 Q_OBJECT
19
20public:
21 explicit X11PlaceholderOutput(X11StandaloneBackend *backend, QObject *parent = nullptr);
22
23 RenderLoop *renderLoop() const override;
24
25 void updateEnabled(bool enabled);
26
27private:
28 X11StandaloneBackend *m_backend;
29};
30
31} // namespace KWin
X11PlaceholderOutput(X11StandaloneBackend *backend, QObject *parent=nullptr)