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
qcore_ohos.cpp File Reference

(dc8a6de42c8adb89275628f0adb067e9664a795d)

#include "qcore_ohos_p.h"
#include <QtCore/qmetaobject.h>
#include <QtCore/private/qohoslogger_p.h>
#include <deque>
#include <mutex>
#include <napi.h>
#include <tuple>
#include <utility>
Include dependency graph for qcore_ohos.cpp:

Go to the source code of this file.

Namespaces

namespace  QtOhos

Functions

void QtOhos::initQtThreadState ()
QtStateQtOhos::getQtState ()
void QtOhos::invokeInQtThread (std::function< void()> task)
void QtOhos::logJsCallbackError (const QOhosCallbackInfo &cbInfo, const char *errorMessagePrefix)
std::function< void(const QOhosCallbackInfo &)> QtOhos::makeErrorLoggingJsCallback (std::string callContext)

Variables

static QOhosJsThreadOpsqOhosJsThreadOpsInstance = nullptr

Variable Documentation

◆ qOhosJsThreadOpsInstance

QOhosJsThreadOps * qOhosJsThreadOpsInstance = nullptr
static

Definition at line 23 of file qcore_ohos.cpp.