Sha256: 24647114b3500a28f7bdc8c7154311b1f9a195b2d71756651b968e253fd36ec6
Contents?: true
Size: 918 Bytes
Versions: 17
Compression:
Stored size: 918 Bytes
Contents
// // LocationController.h // rhorunner // // Created by vlad on 10/15/08. // Copyright 2008 __MyCompanyName__. All rights reserved. // #import <Foundation/Foundation.h> @interface LocationController : NSObject<CLLocationManagerDelegate> { CLLocationManager* _locationManager; CFRunLoopTimerRef _timer; @public double _dLatitude, _dLongitude; bool _bKnownPosition; SEL onUpdateLocation; } @property (nonatomic, retain) CLLocationManager *_locationManager; @property (assign) SEL onUpdateLocation; - (void) stop; - (double) getLatitude; - (double) getLongitude; - (bool) isKnownPosition; - (bool) isAvailable; - (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation; - (void)locationManager:(CLLocationManager *)manager didFailWithError:(NSError *)error; + (LocationController *)sharedInstance; @end
Version data entries
17 entries across 17 versions & 1 rubygems