summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothserviceinfo_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bluetooth/qbluetoothserviceinfo_p.h')
-rw-r--r--src/bluetooth/qbluetoothserviceinfo_p.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothserviceinfo_p.h b/src/bluetooth/qbluetoothserviceinfo_p.h
index a0515b8c..3ed005e1 100644
--- a/src/bluetooth/qbluetoothserviceinfo_p.h
+++ b/src/bluetooth/qbluetoothserviceinfo_p.h
@@ -82,6 +82,11 @@ namespace ABI {
}
#endif
+#ifdef QT_WIN_BLUETOOTH
+#include <winsock2.h>
+#include <ws2bth.h>
+#endif
+
QT_BEGIN_NAMESPACE
class QBluetoothServiceInfo;
@@ -123,6 +128,14 @@ private:
bool writeSdpAttributes();
#endif
+#ifdef QT_WIN_BLUETOOTH
+ SOCKADDR_BTH sockaddr = {};
+ CSADDR_INFO addrinfo = {};
+ WSAQUERYSET regInfo = {};
+ QVector<WCHAR> serviceName;
+ QVector<WCHAR> serviceDescription;
+#endif
+
#if QT_OSX_BLUETOOTH
public:
bool registerService(const QBluetoothServiceInfo &info);