2021-04-04 14:11:13 +00:00
|
|
|
/*
|
|
|
|
SPDX-FileCopyrightText: 2021 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
|
|
|
|
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "abstract_wayland_output.h"
|
|
|
|
|
|
|
|
#include <KWaylandServer/outputdevice_interface.h>
|
|
|
|
|
|
|
|
namespace KWin
|
|
|
|
{
|
|
|
|
|
|
|
|
class WaylandOutputDevice : public QObject
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit WaylandOutputDevice(AbstractWaylandOutput *output, QObject *parent = nullptr);
|
|
|
|
|
|
|
|
private Q_SLOTS:
|
|
|
|
void handleGeometryChanged();
|
|
|
|
void handleScaleChanged();
|
|
|
|
void handleEnabledChanged();
|
|
|
|
void handleTransformChanged();
|
|
|
|
void handleModeChanged();
|
2021-04-11 14:26:21 +00:00
|
|
|
void handleCapabilitiesChanged();
|
|
|
|
void handleOverscanChanged();
|
2021-04-04 14:11:13 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
AbstractWaylandOutput *m_platformOutput;
|
|
|
|
KWaylandServer::OutputDeviceInterface *m_outputDevice;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace KWin
|