Files
ipushto/Classes/CoreLocationController.h
Norbert Schmidt 025e53504d First commit
2017-09-04 11:40:05 +02:00

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