Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include "qbluetoothutils_winrt_p.h"
#include <QtBluetooth/private/qtbluetoothglobal_p.h>
#include <QtCore/private/qfunctions_winrt_p.h>
#include <QtCore/QLoggingCategory>
#include <robuffer.h>
#include <wrl.h>
#include <winrt/windows.foundation.metadata.h>
#include <windows.storage.streams.h>
Go to the source code of this file.
Functions | |
QT_BEGIN_NAMESPACE QByteArray | byteArrayFromBuffer (const ComPtr< NativeBuffer > &buffer, bool isWCharString) |
void | mainThreadCoInit (void *caller) |
void | mainThreadCoUninit (void *caller) |
Variables | |
static QSet< void * > | successfulInits |
static QThread * | mainThread = nullptr |
QT_BEGIN_NAMESPACE QByteArray byteArrayFromBuffer | ( | const ComPtr< NativeBuffer > & | buffer, |
bool | isWCharString ) |
Definition at line 23 of file qbluetoothutils_winrt.cpp.
References QString::fromUtf16(), QByteArray(), qErrnoWarning(), and QString::toUtf8().
Definition at line 48 of file qbluetoothutils_winrt.cpp.
References QThread::currentThread(), QCoreApplication::instance(), mainThread, Q_ASSERT, Q_ASSERT_X, qCWarning, and successfulInits.
Referenced by QBluetoothSocketPrivateWinRT::QBluetoothSocketPrivateWinRT().
Definition at line 75 of file qbluetoothutils_winrt.cpp.
References QThread::currentThread(), mainThread, Q_ASSERT, qCWarning, and successfulInits.
Referenced by QBluetoothSocketPrivateWinRT::~QBluetoothSocketPrivateWinRT().
Definition at line 46 of file qbluetoothutils_winrt.cpp.
Referenced by mainThreadCoInit(), mainThreadCoUninit(), QCoreApplicationPrivate::notify_helper(), QCoreApplicationPrivate::quit(), QCoreApplicationPrivate::sendThroughApplicationEventFilters(), QCoreApplicationPrivate::sendThroughObjectEventFilters(), and QCoreApplication::setEventDispatcher().
Definition at line 45 of file qbluetoothutils_winrt.cpp.
Referenced by mainThreadCoInit(), and mainThreadCoUninit().