summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2012-09-10 14:32:55 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-09-10 14:32:55 -0700
commita8fd77865c3e3e0a547b8e06a047c44732fe92f2 (patch)
treeed7c615537b766a7c3376937df3fe9060b9a5454 /dive.h
parent78c5aa9f071ab56e56bf760e3e7fc7f0f0d1b1ff (diff)
downloadsubsurface-a8fd77865c3e3e0a547b8e06a047c44732fe92f2.tar.gz
Implement Close menu option that allows closing the data file
This requires some helper routines that allow us to clear out all the widgets. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index af141bbde..227de387c 100644
--- a/dive.h
+++ b/dive.h
@@ -390,8 +390,10 @@ extern xmlDoc *test_xslt_transforms(xmlDoc *doc);
extern void show_dive_info(struct dive *);
extern void show_dive_equipment(struct dive *, int w_idx);
+extern void clear_equipment_widgets(void);
extern void show_dive_stats(struct dive *);
+extern void clear_stats_widgets(void);
extern void update_dive(struct dive *new_dive);
extern void save_dives(const char *filename);