| 1 | // Copyright (C) 2017 Klaralvdalens Datakonsult AB (KDAB). |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 3 | |
| 4 | #import <Foundation/Foundation.h> |
| 5 | #import <CoreLocation/CoreLocation.h> |
| 6 | #import <CoreMotion/CoreMotion.h> |
| 7 | |
| 8 | |
| 9 | @interface iOSDeviceOrientationP : NSObject <CLLocationManagerDelegate> |
| 10 | @property (readonly) BOOL isActive; |
| 11 | |
| 12 | + (iOSDeviceOrientationP*)instance; |
| 13 | - (void)setHandler:(iOSDeviceOrientation*) handler; |
| 14 | - (void)start; |
| 15 | - (void)stop; |
| 16 | @end |