1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
5 \macro Q_FORWARD_DECLARE_OBJC_CLASS(classname)
7 \relates <QtDarwinHelpers>
9 Forward-declares an Objective-C \a classname in a manner such that it can be
10 compiled as either Objective-C or C++.
12 This is primarily intended for use in header files that may be included by
13 both Objective-C and C++ source files.
17 \macro Q_FORWARD_DECLARE_CF_TYPE(type)
19 \relates <QtDarwinHelpers>
21 Forward-declares a Core Foundation \a type. This includes the actual
22 type and the ref type. For example, Q_FORWARD_DECLARE_CF_TYPE(CFString)
23 declares __CFString and CFStringRef.
27 \macro Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(type)
29 \relates <QtDarwinHelpers>
31 Forward-declares a mutable Core Foundation \a type. This includes the actual
32 type and the ref type. For example, Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(CFMutableString)
33 declares __CFMutableString and CFMutableStringRef.