mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Cleanups
This commit is contained in:
parent
d80b85b158
commit
cd244371b9
@ -15712,7 +15712,7 @@ static void find_location_driver(void)
|
||||
*
|
||||
* Returns: true (1) if successful, otherwise false (0).
|
||||
**/
|
||||
bool driver_location_start(void)
|
||||
static bool driver_location_start(void)
|
||||
{
|
||||
if (location_driver && location_data && location_driver->start)
|
||||
{
|
||||
@ -15733,7 +15733,7 @@ bool driver_location_start(void)
|
||||
*
|
||||
* Returns: true (1) if successful, otherwise false (0).
|
||||
**/
|
||||
void driver_location_stop(void)
|
||||
static void driver_location_stop(void)
|
||||
{
|
||||
if (location_driver && location_driver->stop && location_data)
|
||||
location_driver->stop(location_data);
|
||||
@ -15747,7 +15747,7 @@ void driver_location_stop(void)
|
||||
* Sets interval update time for location driver interface.
|
||||
* Used by RETRO_ENVIRONMENT_GET_LOCATION_INTERFACE.
|
||||
**/
|
||||
void driver_location_set_interval(unsigned interval_msecs,
|
||||
static void driver_location_set_interval(unsigned interval_msecs,
|
||||
unsigned interval_distance)
|
||||
{
|
||||
if (location_driver && location_driver->set_interval
|
||||
@ -15769,7 +15769,7 @@ void driver_location_set_interval(unsigned interval_msecs,
|
||||
*
|
||||
* Returns: bool (1) if successful, otherwise false (0).
|
||||
**/
|
||||
bool driver_location_get_position(double *lat, double *lon,
|
||||
static bool driver_location_get_position(double *lat, double *lon,
|
||||
double *horiz_accuracy, double *vert_accuracy)
|
||||
{
|
||||
if (location_driver && location_driver->get_position
|
||||
|
47
retroarch.h
47
retroarch.h
@ -2070,53 +2070,6 @@ extern location_driver_t location_corelocation;
|
||||
extern location_driver_t location_android;
|
||||
extern location_driver_t location_null;
|
||||
|
||||
/**
|
||||
* driver_location_start:
|
||||
*
|
||||
* Starts location driver interface..
|
||||
* Used by RETRO_ENVIRONMENT_GET_LOCATION_INTERFACE.
|
||||
*
|
||||
* Returns: true (1) if successful, otherwise false (0).
|
||||
**/
|
||||
bool driver_location_start(void);
|
||||
|
||||
/**
|
||||
* driver_location_stop:
|
||||
*
|
||||
* Stops location driver interface..
|
||||
* Used by RETRO_ENVIRONMENT_GET_LOCATION_INTERFACE.
|
||||
*
|
||||
* Returns: true (1) if successful, otherwise false (0).
|
||||
**/
|
||||
void driver_location_stop(void);
|
||||
|
||||
/**
|
||||
* driver_location_get_position:
|
||||
* @lat : Latitude of current position.
|
||||
* @lon : Longitude of current position.
|
||||
* @horiz_accuracy : Horizontal accuracy.
|
||||
* @vert_accuracy : Vertical accuracy.
|
||||
*
|
||||
* Gets current positioning information from
|
||||
* location driver interface.
|
||||
* Used by RETRO_ENVIRONMENT_GET_LOCATION_INTERFACE.
|
||||
*
|
||||
* Returns: bool (1) if successful, otherwise false (0).
|
||||
**/
|
||||
bool driver_location_get_position(double *lat, double *lon,
|
||||
double *horiz_accuracy, double *vert_accuracy);
|
||||
|
||||
/**
|
||||
* driver_location_set_interval:
|
||||
* @interval_msecs : Interval time in milliseconds.
|
||||
* @interval_distance : Distance at which to update.
|
||||
*
|
||||
* Sets interval update time for location driver interface.
|
||||
* Used by RETRO_ENVIRONMENT_GET_LOCATION_INTERFACE.
|
||||
**/
|
||||
void driver_location_set_interval(unsigned interval_msecs,
|
||||
unsigned interval_distance);
|
||||
|
||||
/**
|
||||
* config_get_location_driver_options:
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user