X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/5092de80d905b2500af04ec610db0e05a8a24225..cca9f97b05c31a51ce886d5b14db93aa741cd95e:/src/gpx.h?ds=inline diff --git a/src/gpx.h b/src/gpx.h index 7c8c5afe..5b2ede95 100644 --- a/src/gpx.h +++ b/src/gpx.h @@ -24,8 +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