27 lines
647 B
Objective-C
Executable File
27 lines
647 B
Objective-C
Executable File
//
|
|
// CoreLocationController.h
|
|
// IDSC
|
|
//
|
|
// Created by Norbert Schmidt on 15-01-11.
|
|
// Copyright 2011 DDQ. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <CoreLocation/CoreLocation.h>
|
|
|
|
@protocol CoreLocationControllerDelegate
|
|
@required
|
|
- (void)locationUpdate:(CLLocation *)location; // Our location updates are sent here
|
|
- (void)locationError:(NSError *)error; // Any errors are sent here
|
|
@end
|
|
|
|
|
|
@interface CoreLocationController : NSObject <CLLocationManagerDelegate> {
|
|
CLLocationManager *locMgr;
|
|
id delegate;
|
|
}
|
|
|
|
@property (nonatomic, retain) CLLocationManager *locMgr;
|
|
@property (nonatomic, assign) id delegate;
|
|
|
|
@end |