summaryrefslogtreecommitdiffstats
path: root/tests/manual/qardboard/iosdeviceorientation_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/qardboard/iosdeviceorientation_p.h')
-rw-r--r--tests/manual/qardboard/iosdeviceorientation_p.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/manual/qardboard/iosdeviceorientation_p.h b/tests/manual/qardboard/iosdeviceorientation_p.h
new file mode 100644
index 000000000..44c0b99a6
--- /dev/null
+++ b/tests/manual/qardboard/iosdeviceorientation_p.h
@@ -0,0 +1,16 @@
+// Copyright (C) 2017 Klaralvdalens Datakonsult AB (KDAB).
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+
+#import <Foundation/Foundation.h>
+#import <CoreLocation/CoreLocation.h>
+#import <CoreMotion/CoreMotion.h>
+
+
+@interface iOSDeviceOrientationP : NSObject <CLLocationManagerDelegate>
+@property (readonly) BOOL isActive;
+
++ (iOSDeviceOrientationP*)instance;
+- (void)setHandler:(iOSDeviceOrientation*) handler;
+- (void)start;
+- (void)stop;
+@end