summaryrefslogtreecommitdiffstats
path: root/planner.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-19 20:35:15 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-19 20:35:15 -0800
commit36cb50fb37f8cede4f334b268406ebd55c12ece6 (patch)
tree475a1535d91cecce7158dce27d3166988fb6abc0 /planner.h
parent28ad26e8787f966223e448aaf728918dff92149e (diff)
downloadsubsurface-36cb50fb37f8cede4f334b268406ebd55c12ece6.tar.gz
Add gas change event from profile context menu
This allows to add missing gas change events to the currently shown dive computer. Only gases defined in the Equipment section are offered. Fixes: #250 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'planner.h')
-rw-r--r--planner.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/planner.h b/planner.h
index caecd513f..330d7df60 100644
--- a/planner.h
+++ b/planner.h
@@ -12,6 +12,7 @@ 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 get_gas_from_events(struct divecomputer *dc, int time, int *o2, int *he);
+extern int get_gasidx(struct dive *dive, int o2, int he);
extern struct diveplan diveplan;
extern struct dive *planned_dive;