mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: move get_dive_gas() to struct dive
It is unclear why this was declared in divelist.h. Moreover, rename it to get_maximal_gas() to better reflect what it does. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
4d7291d4a1
commit
3aab33ba4c
8 changed files with 44 additions and 48 deletions
|
@ -85,6 +85,9 @@ struct dive {
|
|||
temperature_t dc_airtemp() const; /* average over divecomputers */
|
||||
temperature_t dc_watertemp() const; /* average over divecomputers */
|
||||
|
||||
struct get_maximal_gas_result { int o2_p; int he_p; int o2low_p; };
|
||||
get_maximal_gas_result get_maximal_gas() const;
|
||||
|
||||
bool is_planned() const;
|
||||
bool is_logged() const;
|
||||
bool likely_same(const struct dive &b) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue