<QtDarwinHelpers> Proxy Page
Macros
Q_FORWARD_DECLARE_CF_TYPE(type) | |
Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(type) | |
Q_FORWARD_DECLARE_OBJC_CLASS(classname) |
Macro Documentation
Q_FORWARD_DECLARE_CF_TYPE(type)
Forward-declares a Core Foundation type. This includes the actual type and the ref type. For example, Q_FORWARD_DECLARE_CF_TYPE(CFString) declares __CFString and CFStringRef.
Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(type)
Forward-declares a mutable Core Foundation type. This includes the actual type and the ref type. For example, Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(CFMutableString) declares __CFMutableString and CFMutableStringRef.
Q_FORWARD_DECLARE_OBJC_CLASS(classname)
Forward-declares an Objective-C classname in a manner such that it can be compiled as either Objective-C or C++.
This is primarily intended for use in header files that may be included by both Objective-C and C++ source files.
© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.