summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/qardboard/iosdeviceorientation_p.h
blob: 4625bb9caa2e887ddb7852ebdd877f5e9526c758 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (C) 2017 Klaralvdalens Datakonsult AB (KDAB).
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

#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