summaryrefslogtreecommitdiffstats
path: root/src/plugins/sensors/ios/iosmagnetometer.h
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@qt.io>2016-09-30 18:33:12 -0700
committerJake Petroules <jake.petroules@qt.io>2016-10-05 23:17:53 +0000
commit8065e461421ea17a942ea09d67aaa053a136a54e (patch)
treec9ac30308a2e7686d584b7337ee41485f50b5363 /src/plugins/sensors/ios/iosmagnetometer.h
parentdf3374bd4bb8af1494f6a35b1102f15cfe9633e0 (diff)
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/iosmagnetometer.h')
-rw-r--r--src/plugins/sensors/ios/iosmagnetometer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/sensors/ios/iosmagnetometer.h b/src/plugins/sensors/ios/iosmagnetometer.h
index 00d921e8..f4ab34a5 100644
--- a/src/plugins/sensors/ios/iosmagnetometer.h
+++ b/src/plugins/sensors/ios/iosmagnetometer.h
@@ -40,11 +40,11 @@
#ifndef IOSMAGNETOMETER_H
#define IOSMAGNETOMETER_H
-#include <CoreMotion/CMMotionManager.h>
-
#include <qsensorbackend.h>
#include <qmagnetometer.h>
+@class CMMotionManager;
+
QT_BEGIN_NAMESPACE
class IOSMagnetometer : public QSensorBackend