X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/bf35388d0815a5ae2749d4ab4545c2289076372e..de2fc9aa9e8db8e0258c8328161c6b5eda176a0a:/src/gpx.h?ds=sidebyside diff --git a/src/gpx.h b/src/gpx.h index 0ef03cb6..5b2ede95 100644 --- a/src/gpx.h +++ b/src/gpx.h @@ -22,6 +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