-
Notifications
You must be signed in to change notification settings - Fork 1
/
BluetoothInquiryDelegate.h
executable file
·38 lines (26 loc) · 1.2 KB
/
BluetoothInquiryDelegate.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//
// BluetoothInquiryDelegate.h
// bluetool
//
// Created by Jonathan Bunde-Pedersen on 30/03/09.
// Copyright 2009 PureBadger. All rights reserved.
//
#include <Foundation/Foundation.h>
#include <CoreFoundation/CoreFoundation.h>
#include <CoreServices/CoreServices.h>
#include <IOBluetooth/objc/IOBluetoothDeviceInquiry.h>
#include <IOBluetooth/IOBluetoothUserLib.h>
#include <IOBluetoothUI/IOBluetoothUIUserLib.h>
#include <IOBluetooth/objc/IOBluetoothDevice.h>
@interface BluetoothInquiryDelegate : NSObject {
BOOL running;
NSCondition *inquiryCondition;
}
@property (assign) BOOL running;
- (id) initWithCondition:(NSCondition*)condition;
- (void) deviceInquiryComplete:(IOBluetoothDeviceInquiry*)sender error:(IOReturn)error aborted:(BOOL)aborted;
- (void) deviceInquiryDeviceFound:(IOBluetoothDeviceInquiry*)sender device:(IOBluetoothDevice*)device;
- (void) deviceInquiryDeviceNameUpdated:(IOBluetoothDeviceInquiry*)sender device:(IOBluetoothDevice*)device devicesRemaining:(uint32_t)devicesRemaining;
- (void) deviceInquiryStarted:(IOBluetoothDeviceInquiry*)sender;
- (void) deviceInquiryUpdatingDeviceNamesStarted:(IOBluetoothDeviceInquiry*)sender devicesRemaining:(uint32_t)devicesRemaining;
@end