4#ifndef QWASMOFFSCREENSURFACE_H
5#define QWASMOFFSCREENSURFACE_H
7#include <qpa/qplatformoffscreensurface.h>
9#include <emscripten/val.h>
22 const std::string &
id()
const {
return m_specialTargetId; }
26 std::string m_specialTargetId;
27 emscripten::val m_offscreenCanvas;
bool isValid() const override
Returns true if the platform offscreen surface has been allocated.
const std::string & id() const
~QWasmOffscreenSurface() final
QWasmOffscreenSurface(QOffscreenSurface *offscreenSurface)
Combined button and popup list for selecting options.