]> git.street.me.uk Git - andy/viking.git/commit - src/file.h
Enable individual track to GPX export via the Track sublayer menu.
authorRob Norris <rw_norris@hotmail.com>
Sun, 12 Sep 2010 09:34:19 +0000 (10:34 +0100)
committerGuilhem Bonnefille <guilhem.bonnefille@gmail.com>
Mon, 22 Nov 2010 20:57:47 +0000 (21:57 +0100)
commit7f6757c46ff1df30e3dc3ff637fc65cb66ec10c5
tree6f7ab3f347e80631ddbe5fc8b5562c52899eabd6
parentf9d4faa9a7c9de11ba340c842afcb25f9cd40f4a
Enable individual track to GPX export via the Track sublayer menu.

Internally gpx.[ch] supports writing a track to the specified file, so make this available in the GUI.
Expand export definitions in file.h, use the gpx.h interface as necessary routing via a_file_export function.
Filename used is automatically generated from the track name with a '.gpx' appended if appropriate.
Restructure trw_layer_export function to support passing track information.
Add the new sublayer menu entry to use this feature.
src/babel.c
src/file.c
src/file.h
src/viktrwlayer.c