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-3.0.2 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-3.0.2.beta.1 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-3.0.1 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-3.0.1.beta.8 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-3.0.1.beta.7 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-3.0.1.beta.6 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-3.0.1.beta.5 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-3.0.1.beta.4 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-3.0.1.beta.3 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-3.0.1.beta.2 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-3.0.0 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-3.0.0.beta.7 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-3.0.0.beta.6 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-3.0.0.beta.5 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-3.0.0.beta.4 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-3.0.0.beta.3 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-3.0.0.beta.2 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-3.0.0.beta.1 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-2.4.1 platform/iphone/Classes/GeoLocation/LocationController.h
rhodes-2.4.1.beta.1 platform/iphone/Classes/GeoLocation/LocationController.h