Add GUI support for exporting in CSV format

This patch adds an item to File menu to export all dives in CSV format.
Naturally this includes also the code to perform the export.

Fixes #434

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Miika Turkia 2014-04-26 10:55:41 +03:00 committed by Dirk Hohndel
parent 2b559225d6
commit f6be4ccf22
7 changed files with 47 additions and 28 deletions

2
dive.h
View file

@ -702,7 +702,7 @@ extern int parse_manual_file(const char *filename, int separator_index, int unit
extern int save_dives(const char *filename);
extern int save_dives_logic(const char *filename, bool select_only);
extern int save_dive(FILE *f, struct dive *dive);
extern int export_dives_uddf(const char *filename, const bool selected);
extern int export_dives_xslt(const char *filename, const bool selected, const char *export_xslt);
struct git_oid;
struct git_repository;