// SPDX-FileCopyrightText: 2024 KylinSoft Co., Ltd.
//
// SPDX-License-Identifier: GPL-1.0-or-later

#pragma once

#include <QtWaylandClient/private/qwayland-kde-primary-output-v1.h>

QT_BEGIN_NAMESPACE

namespace QtWaylandClient {

class QWaylandDisplay;

class QWaylandPrimaryOutputV1 : public QtWayland::kde_primary_output_v1
{
public:
    QWaylandPrimaryOutputV1(QWaylandDisplay *display, uint id, uint version);
    ~QWaylandPrimaryOutputV1() = default;

    QString outputName() const { return m_outputName; }

protected:
    void kde_primary_output_v1_primary_output(const QString &output_name) override;

private:
    QWaylandDisplay *m_display = nullptr;
    QString m_outputName;
};

} // namespace QtWaylandClient

QT_END_NAMESPACE
