2013-05-07 03:50:30 +00:00
|
|
|
/*
|
|
|
|
* 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);
|
2013-05-23 06:24:33 +00:00
|
|
|
void set_default_dive_computer(const char *vendor, const char *product);
|
|
|
|
void set_default_dive_computer_device(const char *name);
|
2013-05-30 21:26:08 +00:00
|
|
|
QString getSubsurfaceDataPath(QString folderToFind);
|
2013-05-07 03:50:30 +00:00
|
|
|
|
|
|
|
#endif /* HELPER_H */
|