mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
dd944ab33f
The Dive helper class only picks the first cylinder and the total weight. This patch adds the option to dump the cylinders and weights as formatted lists (via cylinders() and weights()) or to retrieve a specific cylinder or weight via (cylinder(index) and weight(index)). Each cylinder and weight string contains detailed information: cylinder: - desc. - pressure (+start/end) - gasmix - etc... weight: - desc. - weight (in units e.g. kg) If no description is found for a cylinder or weight the contents for this particular unit is filled with EMPTY_DIVE_STRING ("--"). Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org> |
||
---|---|---|
.. | ||
android.cpp | ||
checkcloudconnection.cpp | ||
checkcloudconnection.h | ||
CMakeLists.txt | ||
cochran.c | ||
cochran.h | ||
color.cpp | ||
color.h | ||
configuredivecomputer.cpp | ||
configuredivecomputer.h | ||
configuredivecomputerthreads.cpp | ||
configuredivecomputerthreads.h | ||
datatrak.c | ||
datatrak.h | ||
deco.c | ||
deco.h | ||
device.c | ||
device.h | ||
devicedetails.cpp | ||
devicedetails.h | ||
display.h | ||
dive.c | ||
dive.h | ||
divecomputer.cpp | ||
divecomputer.h | ||
divelist.c | ||
divelist.h | ||
divelogexportlogic.cpp | ||
divelogexportlogic.h | ||
divesite.c | ||
divesite.cpp | ||
divesite.h | ||
divesitehelpers.cpp | ||
divesitehelpers.h | ||
equipment.c | ||
exif.cpp | ||
exif.h | ||
file.c | ||
file.h | ||
gaspressures.c | ||
gaspressures.h | ||
gettext.h | ||
gettextfromc.cpp | ||
gettextfromc.h | ||
git-access.c | ||
git-access.h | ||
helpers.h | ||
imagedownloader.cpp | ||
imagedownloader.h | ||
isocialnetworkintegration.cpp | ||
isocialnetworkintegration.h | ||
libdivecomputer.c | ||
libdivecomputer.h | ||
linux.c | ||
liquivision.c | ||
load-git.c | ||
macos.c | ||
membuffer.c | ||
membuffer.h | ||
metrics.cpp | ||
metrics.h | ||
ostctools.c | ||
parse-xml.c | ||
planner.c | ||
planner.h | ||
pluginmanager.cpp | ||
pluginmanager.h | ||
pref.h | ||
prefs-macros.h | ||
profile.c | ||
profile.h | ||
qt-gui.h | ||
qt-init.cpp | ||
qthelper.cpp | ||
qthelper.h | ||
qthelperfromc.h | ||
qtserialbluetooth.cpp | ||
save-git.c | ||
save-html.c | ||
save-html.h | ||
save-xml.c | ||
serial_ftdi.c | ||
sha1.c | ||
sha1.h | ||
statistics.c | ||
statistics.h | ||
strndup.h | ||
strtod.c | ||
subsurfacestartup.c | ||
subsurfacestartup.h | ||
subsurfacesysinfo.cpp | ||
subsurfacesysinfo.h | ||
taxonomy.c | ||
taxonomy.h | ||
time.c | ||
uemis-downloader.c | ||
uemis.c | ||
uemis.h | ||
units.h | ||
version.c | ||
version.h | ||
webservice.h | ||
windows.c | ||
windowtitleupdate.cpp | ||
windowtitleupdate.h | ||
worldmap-options.h | ||
worldmap-save.c | ||
worldmap-save.h |