X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/a25c4c508425a98c4aba9b5d72c6e57c985f9da2..fb822443d52faa90071d147462d46b6d2253c1d4:/src/gpx.h diff --git a/src/gpx.h b/src/gpx.h index c66454e0..5b2ede95 100644 --- a/src/gpx.h +++ b/src/gpx.h @@ -24,7 +24,18 @@ #include "viktrwlayer.h" +/** + * Options adapting GPX writing. + */ +typedef struct { + gboolean force_ele; /// Force ele field + gboolean force_time; /// Force time field +} GpxWritingOptions; + void a_gpx_read_file ( VikTrwLayer *trw, FILE *f ); void a_gpx_write_file ( VikTrwLayer *trw, FILE *f ); +void a_gpx_write_file_options ( GpxWritingOptions *options, VikTrwLayer *trw, FILE *f ); +void a_gpx_write_track_file ( const gchar *name, VikTrack *track, FILE *f ); +void a_gpx_write_track_file_options ( GpxWritingOptions *options, const gchar *name, VikTrack *t, FILE *f ); #endif