diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-11-19 20:35:15 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-11-19 20:35:15 -0800 |
commit | 36cb50fb37f8cede4f334b268406ebd55c12ece6 (patch) | |
tree | 475a1535d91cecce7158dce27d3166988fb6abc0 /planner.h | |
parent | 28ad26e8787f966223e448aaf728918dff92149e (diff) | |
download | subsurface-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |