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

(96d8304092f47e26106976eb35bca5a5fbc706b9)

#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"
Include dependency graph for qbluetoothsocket_winrt.cpp:

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)

Macro Definition Documentation

◆ READ_BUFFER_SIZE

#define READ_BUFFER_SIZE   65536

Definition at line 51 of file qbluetoothsocket_winrt.cpp.

Typedef Documentation

◆ IAsyncBufferOperation

typedef IAsyncOperationWithProgress< IBuffer *, UINT32 > IAsyncBufferOperation

Definition at line 31 of file qbluetoothsocket_winrt.cpp.

◆ SocketReadCompletedHandler

typedef IAsyncOperationWithProgressCompletedHandler< IBuffer *, UINT32 > SocketReadCompletedHandler

Definition at line 30 of file qbluetoothsocket_winrt.cpp.

Function Documentation

◆ fromWinApiAddress()

QString fromWinApiAddress ( HString address)
static

Definition at line 517 of file qbluetoothsocket_winrt.cpp.

◆ qt_QStringFromHString()

QString qt_QStringFromHString ( const HString & string)
inlinestatic

Definition at line 53 of file qbluetoothsocket_winrt.cpp.

◆ writeIOStream()

qint64 writeIOStream ( ComPtr< IOutputStream > stream,
const char * data,
qint64 len )
static

Definition at line 62 of file qbluetoothsocket_winrt.cpp.