![]() |
Qt 6.x
The Qt SDK
|
#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>
Include dependency graph for qbluetoothutils_winrt.cpp: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 |
| QT_BEGIN_NAMESPACE QByteArray byteArrayFromBuffer | ( | const ComPtr< NativeBuffer > & | buffer, |
| bool | isWCharString | ||
| ) |
Definition at line 23 of file qbluetoothutils_winrt.cpp.
References QString::fromUtf16(), QString::left(), qErrnoWarning(), and QString::toUtf8().
Here is the call graph for this function:Definition at line 47 of file qbluetoothutils_winrt.cpp.
References QThread::currentThread(), QCoreApplication::instance(), Q_ASSERT, qCWarning, and successfulInits.
Referenced by QBluetoothSocketPrivateWinRT::QBluetoothSocketPrivateWinRT().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 69 of file qbluetoothutils_winrt.cpp.
References QThread::currentThread(), QCoreApplication::instance(), Q_ASSERT, qCWarning, and successfulInits.
Referenced by QBluetoothSocketPrivateWinRT::~QBluetoothSocketPrivateWinRT().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 45 of file qbluetoothutils_winrt.cpp.
Referenced by mainThreadCoInit(), and mainThreadCoUninit().