Qt
6.x
The Qt SDK
Loading...
Searching...
No Matches
qwasmoffscreensurface.h
Go to the documentation of this file.
1
// Copyright (C) 2019 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4
#ifndef QWASMOFFSCREENSURFACE_H
5
#define QWASMOFFSCREENSURFACE_H
6
7
#include <qpa/qplatformoffscreensurface.h>
8
9
#include <emscripten/val.h>
10
11
#include <string>
12
13
QT_BEGIN_NAMESPACE
14
15
class
QOffscreenSurface
;
16
class
QWasmOffscreenSurface
final :
public
QPlatformOffscreenSurface
17
{
18
public
:
19
explicit
QWasmOffscreenSurface
(
QOffscreenSurface
*
offscreenSurface
);
20
~QWasmOffscreenSurface
()
final
;
21
22
const
std::string &
id
()
const
{
return
m_specialTargetId; }
23
24
private
:
25
std::string m_specialTargetId;
26
emscripten::val m_offscreenCanvas;
27
};
28
29
QT_END_NAMESPACE
30
31
#endif
QOffscreenSurface
\inmodule QtGui
Definition
qoffscreensurface.h:21
QPlatformOffscreenSurface
Definition
qplatformoffscreensurface.h:30
QPlatformOffscreenSurface::offscreenSurface
QOffscreenSurface * offscreenSurface() const
Definition
qplatformoffscreensurface.cpp:26
QWasmOffscreenSurface
Definition
qwasmoffscreensurface.h:17
QWasmOffscreenSurface::id
const std::string & id() const
Definition
qwasmoffscreensurface.h:22
QWasmOffscreenSurface::~QWasmOffscreenSurface
~QWasmOffscreenSurface() final
Definition
qwasmoffscreensurface.cpp:25
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
qtbase
src
plugins
platforms
wasm
qwasmoffscreensurface.h
Generated by
1.9.7