diff options
author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2018-12-13 15:58:08 +0100 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2018-12-18 09:26:24 +0000 |
commit | e9967647ffe20df0473a1fa9eb10957b4e32fbf3 (patch) | |
tree | 82f990b2650b8f3f069cdffe5efe66fbfd76fdd1 /src/bluetooth/osx/osxbtobexsession.mm | |
parent | db0f1f7ab0892c84744608e073fc99999ef28fdd (diff) |
CoreBluetooth - fix warnings ('-Wobjc-interface-ivars')
Move all i-vars into implementation part of declaration.
Change-Id: I9ee71bc85308d899871dc680d438c504e591b091
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/bluetooth/osx/osxbtobexsession.mm')
-rw-r--r-- | src/bluetooth/osx/osxbtobexsession.mm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/bluetooth/osx/osxbtobexsession.mm b/src/bluetooth/osx/osxbtobexsession.mm index 9fbc2c12..868b2319 100644 --- a/src/bluetooth/osx/osxbtobexsession.mm +++ b/src/bluetooth/osx/osxbtobexsession.mm @@ -418,6 +418,27 @@ QT_USE_NAMESPACE @end @implementation QT_MANGLE_NAMESPACE(OSXBTOBEXSession) +{ + QT_PREPEND_NAMESPACE(OSXBluetooth)::OBEXSessionDelegate *delegate; + IOBluetoothDevice *device; + quint16 channelID; + IOBluetoothOBEXSession *session; + + QT_PREPEND_NAMESPACE(OSXBluetooth)::OBEXRequest currentRequest; + + bool connected; + bool connectionIDFound; + quint32 connectionID; + + QT_PREPEND_NAMESPACE(QIODevice) *inputStream; + + // TODO: switch to scoped pointers or strong reference objects instead. + NSMutableData *headersData; + NSMutableData *bodyData; + + quint32 bytesSent; + bool pendingAbort; +} + (OBEXMaxPacketLength) maxPacketLength { |