Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qwasmsuspendresumecontrol.cpp File Reference

(c80d36d5c446c6f23eecd6873152848704497447)

#include "qwasmsuspendresumecontrol_p.h"
#include "qstdweb_p.h"
#include <QtCore/qapplicationstatic.h>
#include <emscripten.h>
#include <emscripten/val.h>
#include <emscripten/bind.h>
Include dependency graph for qwasmsuspendresumecontrol.cpp:

Go to the source code of this file.

Functions

void qtSuspendResumeControlClearJs ()
 EM_ASYNC_JS (void, qtSuspendJs,(), { return new Promise(resolve=> { Module.qtSuspendResumeControl.resume=resolve;});})
void qtRegisterEventHandlerJs (int index)
void qtSendPendingEvents ()
 EMSCRIPTEN_BINDINGS (qtSuspendResumeControl)
 Q_GLOBAL_STATIC (QWasmAnimationFrameMultiHandler, s_animationFrameHandler)

Function Documentation

◆ EM_ASYNC_JS()

EM_ASYNC_JS ( void ,
qtSuspendJs ,
() ,
{ return new Promise(resolve=> { Module.qtSuspendResumeControl.resume=resolve;});}  )

References EM_ASYNC_JS().

Referenced by EM_ASYNC_JS().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ EMSCRIPTEN_BINDINGS()

EMSCRIPTEN_BINDINGS ( qtSuspendResumeControl )

Definition at line 251 of file qwasmsuspendresumecontrol.cpp.

◆ Q_GLOBAL_STATIC()

Q_GLOBAL_STATIC ( QWasmAnimationFrameMultiHandler ,
s_animationFrameHandler  )

◆ qtRegisterEventHandlerJs()

void qtRegisterEventHandlerJs ( int index)

Definition at line 69 of file qwasmsuspendresumecontrol.cpp.

◆ qtSendPendingEvents()

void qtSendPendingEvents ( )

Definition at line 245 of file qwasmsuspendresumecontrol.cpp.

◆ qtSuspendResumeControlClearJs()

void qtSuspendResumeControlClearJs ( )

Definition at line 47 of file qwasmsuspendresumecontrol.cpp.