mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
115e5e5fbc
commit
c917a99eb2
3 changed files with 93 additions and 21 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue