diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2011-09-14 21:00:49 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-15 08:52:55 -0700 |
commit | 518ec33ba3bf9c5e9966ef108c1673223337b0fa (patch) | |
tree | 5385872d4a99caa93571fe219414e11f704211d5 /uemis.h | |
parent | 5f13a87cbd0494cd8edc94f4af9281ce9de89d6e (diff) | |
download | subsurface-518ec33ba3bf9c5e9966ef108c1673223337b0fa.tar.gz |
First pass to parse uemis Zurich '.SDA' files
This is missing a ton of the information in the .SDA files It only
parses the divelog.SDA file, not the dive.SDA file It ignores the
information on the gas(es) used and all the data on the tanks.
It still draws some strange artefacts at the end of the dive
But it correctly hooks into the import dialogue, it gives you a file
select box (somewhere, I'm sure, a gtk developer cries quietly) and then
parses enough of this file to serve as a proof of concept.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'uemis.h')
-rw-r--r-- | uemis.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/uemis.h b/uemis.h new file mode 100644 index 000000000..1b6c026d1 --- /dev/null +++ b/uemis.h @@ -0,0 +1,15 @@ +#ifndef UEMIS_H +#define UEMIS_H + +/* + * defines and prototypes for the uemis Zurich SDA file parser + * we add this to the list of dive computers that is supported + * in libdivecomputer by using a negative value for the type enum + */ +#define DEVICE_TYPE_UEMIS (-1) + +void uemis_import(); + +extern GtkWidget *main_window; + +#endif /* DIVE_H */ |