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
qdarwinhelpers.qdoc
Go to the documentation of this file.
1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4/*!
5 \headerfile <QtDarwinHelpers>
6 \inmodule QtCore
7 \ingroup funclists
8 \brief Helper macros specific to Darwin-based operating systems.
9*/
10
11/*!
12 \macro Q_FORWARD_DECLARE_OBJC_CLASS(classname)
13 \since 5.2
14 \relates <QtDarwinHelpers>
15
16 Forward-declares an Objective-C \a classname in a manner such that it can be
17 compiled as either Objective-C or C++.
18
19 This is primarily intended for use in header files that may be included by
20 both Objective-C and C++ source files.
21*/
22
23/*!
24 \macro Q_FORWARD_DECLARE_CF_TYPE(type)
25 \since 5.2
26 \relates <QtDarwinHelpers>
27
28 Forward-declares a Core Foundation \a type. This includes the actual
29 type and the ref type. For example, Q_FORWARD_DECLARE_CF_TYPE(CFString)
30 declares __CFString and CFStringRef.
31*/
32
33/*!
34 \macro Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(type)
35 \since 5.2
36 \relates <QtDarwinHelpers>
37
38 Forward-declares a mutable Core Foundation \a type. This includes the actual
39 type and the ref type. For example, Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(CFMutableString)
40 declares __CFMutableString and CFMutableStringRef.
41*/