diff options
author | Jake Petroules <jake.petroules@qt.io> | 2016-09-30 18:33:12 -0700 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2016-10-05 23:17:53 +0000 |
commit | 8065e461421ea17a942ea09d67aaa053a136a54e (patch) | |
tree | c9ac30308a2e7686d584b7337ee41485f50b5363 /src/plugins/sensors/ios/iosgyroscope.h | |
parent | df3374bd4bb8af1494f6a35b1102f15cfe9633e0 (diff) | |
download | qtsensors-8065e461421ea17a942ea09d67aaa053a136a54e.tar.gz |
Port the iOS sensors plugin to the other UIKit platformsv5.8.0-beta1
watchOS supports accelerometer, gyroscope, and magnetometer.
tvOS supports only the proximity sensor.
No sensors are available on macOS yet, but the plugin is still built
there because many of the underlying APIs are available cross platform
and so some macOS sensors can appear here in the future.
Change-Id: I1668d81f09c745e60c1906be621a74f969841566
Reviewed-by: Mike Krus <mike.krus@kdab.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
Diffstat (limited to 'src/plugins/sensors/ios/iosgyroscope.h')
-rw-r--r-- | src/plugins/sensors/ios/iosgyroscope.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/sensors/ios/iosgyroscope.h b/src/plugins/sensors/ios/iosgyroscope.h index d8ff04a..3969bb1 100644 --- a/src/plugins/sensors/ios/iosgyroscope.h +++ b/src/plugins/sensors/ios/iosgyroscope.h @@ -40,11 +40,11 @@ #ifndef IOSGYROSCOPE_H #define IOSGYROSCOPE_H -#include <CoreMotion/CMMotionManager.h> - #include <qsensorbackend.h> #include <qgyroscope.h> +@class CMMotionManager; + QT_BEGIN_NAMESPACE class IOSGyroscope : public QSensorBackend |