aboutsummaryrefslogtreecommitdiffstats
path: root/helpers.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-22 23:24:33 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-22 23:24:33 -0700
commitc917a99eb2973701a79ba8bdb6002bb6ec0ad880 (patch)
tree12fe6edd7571812e92d0451f00081f513152f404 /helpers.h
parent115e5e5fbc5fcf190ceafaa2b800160cec93d52e (diff)
downloadsubsurface-c917a99eb2973701a79ba8bdb6002bb6ec0ad880.tar.gz
Implement default dive computer and device
The data is saved in the settings and the correct dive computer (vendor and product) and device are picked when the download dialog is openend. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'helpers.h')
-rw-r--r--helpers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/helpers.h b/helpers.h
index 8e72d6a20..04fcd8309 100644
--- a/helpers.h
+++ b/helpers.h
@@ -15,5 +15,7 @@ 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);
+void set_default_dive_computer(const char *vendor, const char *product);
+void set_default_dive_computer_device(const char *name);
#endif /* HELPER_H */