First commit
This commit is contained in:
27
Classes/CoreLocationController.h
Executable file
27
Classes/CoreLocationController.h
Executable file
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// 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
|
||||
Reference in New Issue
Block a user