diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-22 08:52:35 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-02-22 09:13:20 -0800 |
commit | 28aba5a2062cd8310f3f637e9572fe3a92d41dfd (patch) | |
tree | 0b7b7f77c6a885cb157de1269068f5f439c4728a /dive.h | |
parent | e19669a2e5d0d9663a62449c1190c837dd5511f0 (diff) | |
download | subsurface-28aba5a2062cd8310f3f637e9572fe3a92d41dfd.tar.gz |
Flesh out the UDDF xml parsing a bit more
This uses the example UDDF file from Jan Schubert's Heinrichs Weikamp
DR5 dives, and now parses the dive dates, the cylinder mixes and the gas
switch events correctly (or at least partially).
It's not perfect: the gas mix has an "id" field that we ignore, and
instead we just depend on the cylinders being in order (which they seem
to be). And I have rather limited test-cases, so maybe something else
is messed up too. But for the six example dives I have, this gives
reasonable data.
Test-data-by: Jan Schubert <Jan.Schubert@gmx.li>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
0 files changed, 0 insertions, 0 deletions