aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2018-09-12 13:24:14 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2018-09-12 12:52:03 +0000
commitb8b7809d2a08c190f493393119626c53da13094a (patch)
treee750ad5b665a312244c300b67054cfd09ac6e4ee
parent34a0f1fd7579a70c9d8916754e8201308a29f21d (diff)
Remove Q_FORWARD_DECLARE_OBJC_CLASS macrov5.12.0-beta3v5.12.0-beta2v5.12.0-beta1
It's been in QtCore for a long time now. Change-Id: Ie861cce8b03c759311561f972c01970c5d859839 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
-rw-r--r--src/macextras/qmacextrasglobal.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/macextras/qmacextrasglobal.h b/src/macextras/qmacextrasglobal.h
index 86ad534..af0f0c4 100644
--- a/src/macextras/qmacextrasglobal.h
+++ b/src/macextras/qmacextrasglobal.h
@@ -50,23 +50,6 @@ QT_BEGIN_NAMESPACE
# define Q_MACEXTRAS_EXPORT Q_DECL_IMPORT
#endif
-
-// ### remove when merged to QtCore
-/*!
- * \macro Q_FORWARD_DECLARE_OBJC_CLASS(classname)
- *
- * Forward-declares an Objective-C class name 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.
- */
-#ifdef __OBJC__
-#define Q_FORWARD_DECLARE_OBJC_CLASS(classname) @class classname
-#else
-#define Q_FORWARD_DECLARE_OBJC_CLASS(classname) typedef struct objc_object classname
-#endif
-
QT_END_NAMESPACE
#endif // QMACEXTRASGLOBAL_H