summaryrefslogtreecommitdiffstats
path: root/planner.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2014-06-02 16:25:58 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-02 12:40:36 -0700
commit90885bfb8e9ac9eb21d969dd6de54b2ddb14c4cb (patch)
treee880e11d37ac162945185db0e136fdb960467fd4 /planner.h
parentcc012c1fa6ffca2c5c93fb79415b9a806cb3632c (diff)
downloadsubsurface-90885bfb8e9ac9eb21d969dd6de54b2ddb14c4cb.tar.gz
Optionally strip diveplan to bare minimum
There are new check-boxes to modify the look of the diveplan in the notes. The old behaviour appears with "verbatim display", others are shorter, runtimes, stoplengths and transitions being optional. Also round to full meters and minutes to remove optical clutter. To be done: Remember these setting in the config. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'planner.h')
-rw-r--r--planner.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/planner.h b/planner.h
index 5542be14e..32419d073 100644
--- a/planner.h
+++ b/planner.h
@@ -11,6 +11,10 @@ extern int validate_po2(const char *text, int *mbar_po2);
extern timestamp_t current_time_notz(void);
extern void show_planned_dive(char **error_string_p);
extern void set_last_stop(bool last_stop_6m);
+extern void set_verbatim(bool verbatim);
+extern void set_display_runtime(bool display);
+extern void set_display_duration(bool display);
+extern void set_display_transitions(bool display);
extern void get_gas_from_events(struct divecomputer *dc, int time, struct gasmix *gas);
extern int get_gasidx(struct dive *dive, struct gasmix *mix);
extern bool diveplan_empty(struct diveplan *diveplan);