Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
btsdpinquiry_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
BTSDPINQUIRY_H
5
#
define
BTSDPINQUIRY_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
"qbluetoothaddress.h"
19
#
include
"qbluetoothuuid.h"
20
21
#
include
<
QtCore
/
private
/
qglobal_p
.
h
>
22
#
include
<
QtCore
/
private
/
qcore_mac_p
.
h
>
23
#
include
<
QtCore
/
qlist
.
h
>
24
25
#
include
<
Foundation
/
Foundation
.
h
>
26
27
#
include
<
IOBluetooth
/
IOBluetooth
.
h
>
28
29
@
class
QT_MANGLE_NAMESPACE(DarwinBTSDPInquiry);
30
31
QT_BEGIN_NAMESPACE
32
33
class
QBluetoothServiceInfo;
34
class
QVariant;
35
36
namespace
DarwinBluetooth
{
37
38
class
SDPInquiryDelegate;
39
40
void
extract_service_record
(IOBluetoothSDPServiceRecord *record, QBluetoothServiceInfo &serviceInfo);
41
QVariant
extract_attribute_value
(IOBluetoothSDPDataElement *dataElement);
42
QList
<
QBluetoothUuid
>
extract_services_uuids
(IOBluetoothDevice *device);
43
44
}
// namespace DarwinBluetooth
45
46
QT_END_NAMESPACE
47
48
@interface QT_MANGLE_NAMESPACE(DarwinBTSDPInquiry) : NSObject
49
50
- (id)initWithDelegate:(QT_PREPEND_NAMESPACE(DarwinBluetooth::SDPInquiryDelegate) *)aDelegate;
51
- (
void
)dealloc;
52
53
- (IOReturn)performSDPQueryWithDevice:(
const
QBluetoothAddress &)address;
54
- (IOReturn)performSDPQueryWithDevice:(
const
QBluetoothAddress &)address
55
filters:(
const
QList<QBluetoothUuid> &)filters;
56
57
- (
void
)stopSDPQuery;
58
59
- (
void
)sdpQueryComplete:(IOBluetoothDevice *)aDevice status:(IOReturn)status;
60
61
@end
62
63
QT_NAMESPACE_ALIAS_OBJC_CLASS(DarwinBTSDPInquiry);
64
65
#
endif
QT_BT_MAC_AUTORELEASEPOOL
#define QT_BT_MAC_AUTORELEASEPOOL
Definition
btutility_p.h:78
QBluetoothServiceInfo
\inmodule QtBluetooth
Definition
qbluetoothserviceinfo.h:25
DarwinBluetooth
Definition
btcentralmanager.mm:22
DarwinBluetooth::extract_services_uuids
QList< QBluetoothUuid > extract_services_uuids(IOBluetoothDevice *device)
Definition
btsdpinquiry.mm:158
DarwinBluetooth::extract_service_record
void extract_service_record(IOBluetoothSDPServiceRecord *record, QBluetoothServiceInfo &serviceInfo)
Definition
btsdpinquiry.mm:132
DarwinBluetooth::extract_attribute_value
QVariant extract_attribute_value(IOBluetoothSDPDataElement *dataElement)
Definition
btsdpinquiry.mm:90
QmlIR::Object::id
int id
Definition
qqmlirbuilder_p.h:312
qtconnectivity
src
bluetooth
darwin
btsdpinquiry_p.h
Generated on
for Qt by
1.18.0