Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
22
iphone/Maps/Core/Location/MWMLocationObserver.h
Normal file
22
iphone/Maps/Core/Location/MWMLocationObserver.h
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
//#include "platform/location.hpp"
|
||||
|
||||
typedef NS_ENUM(NSInteger, MWMLocationStatus) {
|
||||
MWMLocationStatusNoError,
|
||||
MWMLocationStatusNotSupported,
|
||||
MWMLocationStatusDenied,
|
||||
MWMLocationStatusGPSIsOff,
|
||||
MWMLocationStatusTimeout // Unused on iOS, (only used on Qt)
|
||||
};
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@protocol MWMLocationObserver<NSObject>
|
||||
|
||||
@optional
|
||||
- (void)onHeadingUpdate:(CLHeading *)heading;
|
||||
- (void)onLocationUpdate:(CLLocation *)location;
|
||||
- (void)onLocationError:(MWMLocationStatus)locationError;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Loading…
Add table
Add a link
Reference in a new issue