navit  0.5.3-trunk
corelocation.m File Reference
#import "corelocation.h"
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

Macros

#define VEHICLE_IPHONE_OBJC
 

Functions

void corelocation_update (double lat, double lng, double dir, double spd, char *str_time, double radius)
 
void corelocation_init (void *pv_arg, FT_LOCATION_CB pf_cb)
 
void corelocation_exit (void)
 

Variables

corelocationlocationcontroller = NULL
 

Macro Definition Documentation

◆ VEHICLE_IPHONE_OBJC

#define VEHICLE_IPHONE_OBJC

Navit, a modular navigation system. Copyright (C) 2005-2008 Navit Team

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Function Documentation

◆ corelocation_exit()

void corelocation_exit ( void  )

C exit procedure

Referenced by vehicle_iphone_destroy().

◆ corelocation_init()

void corelocation_init ( void *  pv_arg,
FT_LOCATION_CB  pf_cb 
)

C init procedure

Save callbacks

Start location process

References locationcontroller.

Referenced by vehicle_iphone_new().

◆ corelocation_update()

void corelocation_update ( double  lat,
double  lng,
double  dir,
double  spd,
char *  str_time,
double  radius 
)

C update procedure

References lat, and locationcontroller.

Variable Documentation

◆ locationcontroller

corelocation* locationcontroller = NULL