<QtDarwinHelpers>
Macros auxiliares específicas para sistemas operativos basados en Darwin. Más...
| Header: | #include <QtDarwinHelpers> |
Macros
| Q_FORWARD_DECLARE_CF_TYPE(type) | |
| Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(type) | |
| Q_FORWARD_DECLARE_OBJC_CLASS(classname) |
Documentación de las macros
Q_FORWARD_DECLARE_CF_TYPE(type)
Declara por adelantado un tipo de Core Foundation type. Esto incluye tanto el tipo real como el tipo de referencia. Por ejemplo, Q_FORWARD_DECLARE_CF_TYPE(CFString) declara __CFString y CFStringRef.
Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(type)
Declara por adelantado un tipo mutable de Core Foundation type. Esto incluye tanto el tipo real como el tipo de referencia. Por ejemplo, Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(CFMutableString) declara __CFMutableString y CFMutableStringRef.
Q_FORWARD_DECLARE_OBJC_CLASS(classname)
Declara por adelantado un ` classname ` de Objective-C de tal forma que pueda compilarse tanto en Objective-C como en C++.
Está pensado principalmente para su uso en archivos de cabecera que puedan ser incluidos tanto por archivos fuente de Objective-C como de C++.
© 2026 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.