summaryrefslogtreecommitdiffstats
path: root/helpers.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-06 20:50:30 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-06 20:50:30 -0700
commit1240455a9a1f23284af2b8859b2ca2d1f363e0c6 (patch)
tree8ef77367ce2dac93192fa386815f8dd8c0029818 /helpers.h
parentb75a89aa868d39be29d2bb220a6e0c50d5a2b0ac (diff)
downloadsubsurface-1240455a9a1f23284af2b8859b2ca2d1f363e0c6.tar.gz
Missing helpers.h file
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'helpers.h')
-rw-r--r--helpers.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/helpers.h b/helpers.h
new file mode 100644
index 000000000..8e72d6a20
--- /dev/null
+++ b/helpers.h
@@ -0,0 +1,19 @@
+/*
+ * helpers.h
+ *
+ * header file for random helper functions of Subsurface
+ *
+ */
+#ifndef HELPER_H
+#define HELPER_H
+
+#include <QString>
+#include "dive.h"
+
+QString get_depth_string(depth_t depth, bool showunit);
+QString get_weight_string(weight_t weight, bool showunit);
+QString get_temperature_string(temperature_t temp, bool showunit);
+QString get_volume_string(volume_t volume, bool showunit);
+QString get_pressure_string(pressure_t pressure, bool showunit);
+
+#endif /* HELPER_H */