datasource_gps

datasource_gps

Functions

Description

Functions

datasource_gps_setup ()

gpointer
datasource_gps_setup (GtkWidget *dialog,
                      vik_gps_xfer_type xfer,
                      gboolean xfer_all);

Parameters

dialog

The GTK dialog. The caller is responsible for managing the dialog creation/deletion

 

xfer

The default type of items enabled for transfer, others disabled.

 

xfer_all

When specified all items are enabled for transfer.

 

Returns

A gpointer to the private structure for GPS progress/information widgets Pass this pointer back into the other exposed datasource_gps_X functions


datasource_gps_clean_up ()

void
datasource_gps_clean_up (gpointer user_data);

External method to tidy up


datasource_gps_get_protocol ()

gchar *
datasource_gps_get_protocol (gpointer user_data);

Method to get the communication protocol of the GPS device from the widget structure


datasource_gps_get_descriptor ()

gchar *
datasource_gps_get_descriptor (gpointer user_data);

Method to get the descriptor from the widget structure "Everything is a file" Could actually be normal file or a serial port


datasource_gps_get_do_tracks ()

gboolean
datasource_gps_get_do_tracks (gpointer user_data);

Method to get the track handling behaviour from the widget structure


datasource_gps_get_do_routes ()

gboolean
datasource_gps_get_do_routes (gpointer user_data);

Method to get the route handling behaviour from the widget structure


datasource_gps_get_do_waypoints ()

gboolean
datasource_gps_get_do_waypoints (gpointer user_data);

Method to get the waypoint handling behaviour from the widget structure


datasource_gps_get_off ()

gboolean
datasource_gps_get_off (gpointer user_data);

Method to get the off behaviour from the widget structure