Export dives in UDDF format

Implement exporting in UDDF format as was done in Gtk version. File menu
exports all the dives, right click on selection exports the selected
ones.

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Miika Turkia 2013-10-19 20:35:36 +03:00 committed by Dirk Hohndel
parent bdedf46e4c
commit 3e48511318
5 changed files with 83 additions and 2 deletions

1
dive.h
View file

@ -621,6 +621,7 @@ extern void parse_csv_file(const char *filename, int time, int depth, int temp,
extern void save_dives(const char *filename);
extern void save_dives_logic(const char *filename, bool select_only);
extern void save_dive(FILE *f, struct dive *dive);
extern void export_dives_uddf(const char *filename, const bool selected);
extern xsltStylesheetPtr get_stylesheet(const char *name);