X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/8c4f1350d63e7d8bee903123eed8a48263787265..e96fe99dfb8c926ba4c6ee558380cc3f7f5241bc:/src/gpx.h diff --git a/src/gpx.h b/src/gpx.h index 710774d3..5b2ede95 100644 --- a/src/gpx.h +++ b/src/gpx.h @@ -22,7 +22,20 @@ #ifndef _VIKING_GPX_H #define _VIKING_GPX_H +#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