]> git.street.me.uk Git - andy/viking.git/blobdiff - src/gpx.h
Fix debug message
[andy/viking.git] / src / gpx.h
index 710774d3b1a228b3d9b04786e81b06e764b69417..5b2ede954e4c465f6db464bbb9d10eedb5a7bb7e 100644 (file)
--- a/src/gpx.h
+++ b/src/gpx.h
 #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