<QtDarwinHelpers>
Darwin 기반 운영 체제 전용 헬퍼 매크로. 더 보기...
| Header: | #include <QtDarwinHelpers> |
매크로
| Q_FORWARD_DECLARE_CF_TYPE(type) | |
| Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(type) | |
| Q_FORWARD_DECLARE_OBJC_CLASS(classname) |
매크로 문서
Q_FORWARD_DECLARE_CF_TYPE(type)
Core Foundation type 를 사전 선언합니다. 여기에는 실제 타입과 참조 타입이 모두 포함됩니다. 예를 들어, Q_FORWARD_DECLARE_CF_TYPE(CFString)은 __CFString과 CFStringRef를 선언합니다.
Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(type)
변경 가능한 Core Foundation type 를 사전 선언합니다. 여기에는 실제 타입과 참조 타입이 모두 포함됩니다. 예를 들어, Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(CFMutableString)은 __CFMutableString과 CFMutableStringRef를 선언합니다.
Q_FORWARD_DECLARE_OBJC_CLASS(classname)
Objective-C classname 를 Objective-C 또는 C++로 모두 컴파일될 수 있도록 사전 선언합니다.
이는 주로 Objective-C 및 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.