summaryrefslogtreecommitdiffstats
path: root/helpers.h
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-10-03 17:50:38 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-03 09:38:13 -0700
commit50e74f45657415f9bde9280aabd078e963f2094a (patch)
treec670b7ff5d95a5dff153cf195e22accbf1a1354b /helpers.h
parentc478ea30cb5862b1c21b63050837c282632b7ea8 (diff)
downloadsubsurface-50e74f45657415f9bde9280aabd078e963f2094a.tar.gz
Helpers: add get_cylinder_used_gas_string()
get_cylinder_used_gas_string() retrieves used gas per cylinder with optional units display. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'helpers.h')
-rw-r--r--helpers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/helpers.h b/helpers.h
index 80dc00167..c9e70532d 100644
--- a/helpers.h
+++ b/helpers.h
@@ -16,6 +16,7 @@ QString get_depth_string(int mm, bool showunit = false, bool showdecimal = true)
QString get_depth_unit();
QString get_weight_string(weight_t weight, bool showunit = false);
QString get_weight_unit();
+QString get_cylinder_used_gas_string(cylinder_t *cyl, bool showunit = false);
QString get_temperature_string(temperature_t temp, bool showunit = false);
QString get_temp_unit();
QString get_volume_string(volume_t volume, bool showunit = false);