]> git.street.me.uk Git - andy/viking.git/blobdiff - src/gpx.h
Add 'Advanced' preferences tab.
[andy/viking.git] / src / gpx.h
index bc66d77897e294f46db07cbd0dc09f658fe5d09c..d8f7d4e2e1104dcb615410a4a467e77f53d7ea8e 100644 (file)
--- a/src/gpx.h
+++ b/src/gpx.h
@@ -24,6 +24,8 @@
 
 #include "viktrwlayer.h"
 
+G_BEGIN_DECLS
+
 /**
  * Options adapting GPX writing.
  */
@@ -31,10 +33,13 @@ typedef struct {
        gboolean force_ele; /// Force ele field
        gboolean force_time; /// Force time field
        gboolean hidden; /// Write invisible tracks/waypoints (default is yes)
+       gboolean is_route; /// For internal convience
 } GpxWritingOptions;
 
 gboolean a_gpx_read_file ( VikTrwLayer *trw, FILE *f );
 void a_gpx_write_file ( VikTrwLayer *trw, FILE *f, GpxWritingOptions *options );
 void a_gpx_write_track_file ( VikTrack *trk, FILE *f, GpxWritingOptions *options );
 
+G_END_DECLS
+
 #endif