navit  0.5.3-trunk
corelocation.h File Reference

Go to the source code of this file.

Typedefs

typedef void(* FT_LOCATION_CB) (void *, double, double, double, double, char *, double)
 

Functions

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

Typedef Documentation

◆ FT_LOCATION_CB

typedef void(* FT_LOCATION_CB) (void *, double, double, double, double, char *, double)

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.