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

(a8566b75cabdff66c694b2936880a3c1a1a93f18)

#include "qwasmsuspendresumecontrol_p.h"
#include "qstdweb_p.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)

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 230 of file qwasmsuspendresumecontrol.cpp.

◆ qtRegisterEventHandlerJs()

void qtRegisterEventHandlerJs ( int index)

Definition at line 66 of file qwasmsuspendresumecontrol.cpp.

◆ qtSendPendingEvents()

void qtSendPendingEvents ( )

Definition at line 224 of file qwasmsuspendresumecontrol.cpp.

◆ qtSuspendResumeControlClearJs()

void qtSuspendResumeControlClearJs ( )

Definition at line 45 of file qwasmsuspendresumecontrol.cpp.