diff options
author | Oliver Wolff <oliver.wolff@qt.io> | 2019-08-05 11:28:30 +0200 |
---|---|---|
committer | Oliver Wolff <oliver.wolff@qt.io> | 2019-08-07 10:44:32 +0200 |
commit | 99db6526341e6f0f2a4798088c1f954cff013b7b (patch) | |
tree | da49c1c9717a03cdc2e69970ad4848e989e6bb8c /src/bluetooth/qbluetoothutils_winrt_p.h | |
parent | 8b7b52d66f2616040ca4aaae3f2732be96e19ab8 (diff) | |
parent | f2f9da656fd77330cce44dfe0721b3f68f1d809d (diff) |
Merge remote-tracking branch 'origin/dev' into wip/win
Change-Id: I83175151c0eef1a11d2f21648cc04c86e46777c1
Diffstat (limited to 'src/bluetooth/qbluetoothutils_winrt_p.h')
-rw-r--r-- | src/bluetooth/qbluetoothutils_winrt_p.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothutils_winrt_p.h b/src/bluetooth/qbluetoothutils_winrt_p.h index c272bae1..93950fc9 100644 --- a/src/bluetooth/qbluetoothutils_winrt_p.h +++ b/src/bluetooth/qbluetoothutils_winrt_p.h @@ -53,10 +53,26 @@ #include <QtCore/QtGlobal> +#include <wrl/client.h> + +namespace ABI { + namespace Windows { + namespace Storage { + namespace Streams { + struct IBuffer; + } + } + } +} + QT_BEGIN_NAMESPACE bool supportsNewLEApi(); +using NativeBuffer = ABI::Windows::Storage::Streams::IBuffer; +QByteArray byteArrayFromBuffer(const Microsoft::WRL::ComPtr<NativeBuffer> &buffer, + bool isWCharString = false); + QT_END_NAMESPACE #endif // QBLUETOOTHSOCKET_WINRT_P_H |