19 #ifndef VEHICLE_IPHONE_CORELOCATION_H
20 #define VEHICLE_IPHONE_CORELOCATION_H
22 typedef void(*
FT_LOCATION_CB)(
void *, double , double , double , double,
char *, double);
32 #ifdef VEHICLE_IPHONE_OBJC
33 #import <CoreLocation/CoreLocation.h>
36 @interface corelocation : NSObject <CLLocationManagerDelegate> {
37 CLLocationManager *locationManager;
38 NSDateFormatter *dateFormatter;
45 @property (nonatomic, retain) CLLocationManager *locationManager;
46 @property (nonatomic, retain) NSDateFormatter *dateFormatter;
47 @property (nonatomic, retain) NSDate* eventDate;
48 @property (nonatomic)
int first;
49 @property (nonatomic)
void * pv_arg;
52 - (void)locationManager:(CLLocationManager *)manager
53 didUpdateToLocation:(CLLocation *)newLocation
54 fromLocation:(CLLocation *)oldLocation;
56 - (void)locationManager:(CLLocationManager *)manager
57 didFailWithError:(NSError *)error;
Definition: corelocation.m:54
void corelocation_init(void *pv_arg, FT_LOCATION_CB pf_cb)
Definition: corelocation.m:37
void corelocation_update(double lat, double lng, double dir, double spd, char *time, double radius)
Definition: corelocation.m:30
void corelocation_exit(void)
Definition: corelocation.m:49
void(* FT_LOCATION_CB)(void *, double, double, double, double, char *, double)
Definition: corelocation.h:22
struct triple lng lat
Definition: garmin_img.c:0