Sha256: 8f099e5852fab695a61370d915ce5f4e12a98c6411cd32d8959b9dc95fb8a372

Contents?: true

Size: 948 Bytes

Versions: 55

Compression:

Stored size: 948 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) initLocationManager;
- (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

55 entries across 55 versions & 1 rubygems

Version Path
rhodes-2.2.3.beta.1 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-2.2.2 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-2.2.2.beta.1 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-2.2.1 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-2.2.1.beta.2 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-2.2.1.beta.1 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-2.2.0 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-2.2.0.beta.3 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-2.2.0.beta.2 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-2.2.0.beta.1 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-2.1.0 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-2.0.3 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-2.0.2 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-2.0.0 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-2.0.0.rc2 platform/iphone/Classes/GeoLocation/LocationController.h