#pragma once
#include "render_2D/scene/Scene.h"
#include <QPointer>
#include <memory>
class QWidget;
namespace renderive {
class Qt_Presentation_Sink final : public Presentation_Sink {
public:
    explicit Qt_Presentation_Sink(QWidget* widget);
    ~Qt_Presentation_Sink() override;
    void request_present(Rect dirty_rect) override;
private:
    struct Private;
    std::unique_ptr<Private> d;
};
} // namespace renderive
