4#ifndef BTDEVICEPAIR_P_H
5#define BTDEVICEPAIR_P_H
22#include <QtCore/private/qcore_mac_p.h>
24#include <QtCore/qglobal.h>
26#include <Foundation/Foundation.h>
28#include <IOBluetooth/IOBluetooth.h>
40@interface QT_MANGLE_NAMESPACE(DarwinBTClassicPairing) : NSObject<IOBluetoothDevicePairDelegate>
42- (id)initWithTarget:(
const QBluetoothAddress &)address
43 delegate:(QT_PREPEND_NAMESPACE(DarwinBluetooth::PairingDelegate) *)object;
51- (
const QBluetoothAddress &)targetAddress;
52- (IOBluetoothDevicePair *)pairingRequest;
53- (IOBluetoothDevice *)targetDevice;
57- (
void)devicePairingStarted:(id)sender;
58- (
void)devicePairingConnecting:(id)sender;
59- (
void)deviceParingPINCodeRequest:(id)sender;
61- (
void)devicePairingUserConfirmationRequest:(id)sender
62 numericValue:(BluetoothNumericValue)numericValue;
64- (
void)devicePairingUserPasskeyNotification:(id)sender
65 passkey:(BluetoothPasskey)passkey;
67- (
void)devicePairingFinished:(id)sender
68 error:(IOReturn)error;
70- (
void)deviceSimplePairingComplete:(id)sender
71 status:(BluetoothHCIEventStatus)status;
75QT_NAMESPACE_ALIAS_OBJC_CLASS(DarwinBTClassicPairing);
#define QT_BT_MAC_AUTORELEASEPOOL
ObjCStrongReference< IOBluetoothDevice > device_with_address(const QBluetoothAddress &address)