Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
btdeviceinquiry_p.h
Go to the documentation of this file.
1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef BTDEVICEINQUIRY_P_H
5#define BTDEVICEINQUIRY_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include "btdelegates_p.h"
19
20#include <QtCore/private/qcore_mac_p.h>
21
22#include <QtCore/qglobal.h>
23
24#include <Foundation/Foundation.h>
25#include <IOKit/IOReturn.h>
26
27#include <IOBluetooth/IOBluetooth.h>
28
29@interface QT_MANGLE_NAMESPACE(DarwinBTClassicDeviceInquiry) : NSObject<IOBluetoothDeviceInquiryDelegate>
30
31- (id)initWithDelegate:(QT_PREPEND_NAMESPACE(DarwinBluetooth::DeviceInquiryDelegate) *)delegate;
32- (void)dealloc;
33
34- (bool)isActive;
35- (IOReturn)start;
36- (IOReturn)stop;
37
38//Obj-C delegate:
39- (void)deviceInquiryComplete:(IOBluetoothDeviceInquiry *)sender
40 error:(IOReturn)error aborted:(BOOL)aborted;
41
42- (void)deviceInquiryDeviceFound:(IOBluetoothDeviceInquiry *)sender
43 device:(IOBluetoothDevice *)device;
44
45- (void)deviceInquiryStarted:(IOBluetoothDeviceInquiry *)sender;
46
47@end
48
49QT_NAMESPACE_ALIAS_OBJC_CLASS(DarwinBTClassicDeviceInquiry);
50
51#endif