4#ifndef BTSOCKETLISTENER_P_H
5#define BTSOCKETLISTENER_P_H
18#include <QtCore/private/qglobal_p.h>
19#include <QtCore/private/qcore_mac_p.h>
21#include <Foundation/Foundation.h>
23#include <IOBluetooth/IOBluetooth.h>
38@interface QT_MANGLE_NAMESPACE(DarwinBTSocketListener) : NSObject
40- (id)initWithListener:(QT_PREPEND_NAMESPACE(DarwinBluetooth::SocketListener) *)aDelegate;
43- (
bool)listenRFCOMMConnectionsWithChannelID:(BluetoothRFCOMMChannelID)channelID;
44- (
bool)listenL2CAPConnectionsWithPSM:(BluetoothL2CAPPSM)psm;
46- (
void)rfcommOpenNotification:(IOBluetoothUserNotification *)notification
47 channel:(IOBluetoothRFCOMMChannel *)newChannel;
49- (
void)l2capOpenNotification:(IOBluetoothUserNotification *)notification
50 channel:(IOBluetoothL2CAPChannel *)newChannel;
56QT_NAMESPACE_ALIAS_OBJC_CLASS(DarwinBTSocketListener);