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

#pragma once

#include "qwayland-ukui-blur.h"

#include <QRegion>

namespace QtWaylandClient
{

class UkuiBlur;

class UkuiBlurManager : public QtWayland::ukui_blur_manager_v1
{
public:
    UkuiBlurManager(wl_registry *registry, uint32_t id, int version);
    ~UkuiBlurManager() override;

    UkuiBlur *getUkuiBlur(wl_surface *surface);
};

class UkuiBlur : public QtWayland::ukui_blur_surface_v1
{
public:
    UkuiBlur(::ukui_blur_surface_v1 *ukui_blur);
    ~UkuiBlur() override;
};

} // namespace QtWaylandClient
