mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
5f13a87cbd
commit
518ec33ba3
4 changed files with 302 additions and 1 deletions
15
uemis.h
Normal file
15
uemis.h
Normal file
|
|
@ -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 */
|
||||
Loading…
Add table
Add a link
Reference in a new issue