![]() |
Qt 6.x
The Qt SDK
|
#include "qbluetoothsocket_winrt_p.h"
#include "qbluetoothutils_winrt_p.h"
#include <QtBluetooth/QBluetoothLocalDevice>
#include <QtBluetooth/qbluetoothdeviceinfo.h>
#include <QtBluetooth/qbluetoothserviceinfo.h>
#include <QtCore/qloggingcategory.h>
#include <QtCore/QPointer>
#include <QtCore/private/qfunctions_winrt_p.h>
#include <robuffer.h>
#include <windows.devices.bluetooth.h>
#include <windows.networking.sockets.h>
#include <windows.storage.streams.h>
#include <wrl.h>
#include "qbluetoothsocket_winrt.moc"
Go to the source code of this file.
Classes | |
struct | SocketGlobal |
class | SocketWorker |
Macros | |
#define | READ_BUFFER_SIZE 65536 |
Typedefs | |
typedef IAsyncOperationWithProgressCompletedHandler< IBuffer *, UINT32 > | SocketReadCompletedHandler |
typedef IAsyncOperationWithProgress< IBuffer *, UINT32 > | IAsyncBufferOperation |
Functions | |
static QString | qt_QStringFromHString (const HString &string) |
static qint64 | writeIOStream (ComPtr< IOutputStream > stream, const char *data, qint64 len) |
static QString | fromWinApiAddress (HString address) |
#define READ_BUFFER_SIZE 65536 |
Definition at line 51 of file qbluetoothsocket_winrt.cpp.
typedef IAsyncOperationWithProgress<IBuffer *, UINT32> IAsyncBufferOperation |
Definition at line 31 of file qbluetoothsocket_winrt.cpp.
typedef IAsyncOperationWithProgressCompletedHandler<IBuffer *, UINT32> SocketReadCompletedHandler |
Definition at line 30 of file qbluetoothsocket_winrt.cpp.
|
static |
Definition at line 517 of file qbluetoothsocket_winrt.cpp.
References QString::endsWith(), qt_QStringFromHString(), QString::size(), QString::sliced(), and QString::startsWith().
Referenced by QBluetoothSocketPrivateWinRT::localAddress(), and QBluetoothSocketPrivateWinRT::peerAddress().
|
inlinestatic |
Definition at line 53 of file qbluetoothsocket_winrt.cpp.
References QString::fromWCharArray().
Referenced by fromWinApiAddress(), QBluetoothSocketPrivateWinRT::localPort(), QBluetoothSocketPrivateWinRT::peerName(), and QBluetoothSocketPrivateWinRT::peerPort().
|
static |
Definition at line 62 of file qbluetoothsocket_winrt.cpp.
References qCWarning.
Referenced by QBluetoothSocketPrivateWinRT::writeData().