X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/561e6ad0aaa8b7daa78e2e158421ce5c7ffa3044..6d0927b1b61b1f2f9ec5d048d85d8a4cad24f649:/src/gpx.h?ds=sidebyside 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