summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2015-10-23 14:53:45 +0200
committerChristian Kandeler <christian.kandeler@theqtcompany.com>2015-10-23 13:19:46 +0000
commit823dd31ac10dea02b1cc4baf79a2761b95c5f63f (patch)
tree7e399ad5d09a403b9eda368c6a812467330e7beb
parentcb5abe166db5b87421fbb651bc4adc9382588b29 (diff)
downloadqtconnectivity-823dd31ac10dea02b1cc4baf79a2761b95c5f63f.tar.gz
Bluetooth: Put some data types into the Qt namespace.
There's no reason they should be outside. Change-Id: I597c7c07857c9af820fcdb93e1587f62a2064ab3 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
-rw-r--r--src/bluetooth/bluez/bluez_data_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bluetooth/bluez/bluez_data_p.h b/src/bluetooth/bluez/bluez_data_p.h
index dc12dda2..3722b80d 100644
--- a/src/bluetooth/bluez/bluez_data_p.h
+++ b/src/bluetooth/bluez/bluez_data_p.h
@@ -50,6 +50,8 @@
#include <sys/socket.h>
#include <QtBluetooth/QBluetoothUuid>
+QT_BEGIN_NAMESPACE
+
#define BTPROTO_L2CAP 0
#define BTPROTO_HCI 1
#define BTPROTO_RFCOMM 3
@@ -331,4 +333,6 @@ typedef struct {
} __attribute__ ((packed)) evt_encrypt_change;
#define EVT_ENCRYPT_CHANGE_SIZE 4
+QT_END_NAMESPACE
+
#endif // BLUEZ_DATA_P_H