kwin/plugins/platforms/virtual/screens_virtual.h
Vlad Zahorodnii 79ca5ccd26 Merge OutputScreens into Screens
Since all platforms have been ported to AbstractOutput, OutputScreens
can be merged into Screens. This simplifies the class hierarchy.
2020-12-17 13:36:30 +00:00

34 lines
617 B
C++

/*
KWin - the KDE window manager
This file is part of the KDE project.
SPDX-FileCopyrightText: 2015 Martin Gräßlin <mgraesslin@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef KWIN_SCREENS_VIRTUAL_H
#define KWIN_SCREENS_VIRTUAL_H
#include "screens.h"
#include <QVector>
namespace KWin
{
class VirtualBackend;
class VirtualScreens : public Screens
{
Q_OBJECT
public:
VirtualScreens(VirtualBackend *backend, QObject *parent = nullptr);
~VirtualScreens() override;
void init() override;
private:
void createOutputs();
VirtualBackend *m_backend;
};
}
#endif