diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2021-01-01 12:09:19 +0100 |
---|---|---|
committer | bstoeger <32835590+bstoeger@users.noreply.github.com> | 2021-01-01 21:10:10 +0100 |
commit | b02847de53439820b8ac62f24c4b7457e284d8c4 (patch) | |
tree | 5ea193dcfeeb92b24cefe6497525b769bd7a1c38 /CMakeLists.txt | |
parent | e23d103c5d3e54c6609526234f6591c055f78611 (diff) | |
download | subsurface-b02847de53439820b8ac62f24c4b7457e284d8c4.tar.gz |
core: add get_*_unit functions with explicit unit system
The get_*_unit() functions return the unit-name as set in
the preferences. Add versions with a "metric" parameter.
This will be used by the statistics code, which may in
the future allow for binning with alternative units.
All the unit-formatting functions should probably be moved
away from qthelper to their own source file.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions