diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2017-05-07 13:41:09 +0300 |
---|---|---|
committer | Miika Turkia <miika.turkia@gmail.com> | 2017-05-07 13:53:52 +0300 |
commit | 0dfa448d8c7132bd0058a6fb3bc820fdde2a4759 (patch) | |
tree | cd1b2e74436ea9c2aa41d6290b68fc8a0f8a0ef2 /core/qthelperfromc.h | |
parent | ab1813a4454cbe639e99eaee7cd1115bfed1cf8f (diff) | |
download | subsurface-0dfa448d8c7132bd0058a6fb3bc820fdde2a4759.tar.gz |
Refactor Seabear import
Moving the GUI independent Seabear import functionality to Subsurface
core. This will allow Robert to call it directly from download from DC.
Tested with H3 against released and daily versions of Subsurface. The
result differs somewhat, but it is actually fixing 2 bugs:
- Temperature was mis-interpreted previously
- Sample interval for a dive with 1 second interval was parsed
incorrectly
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'core/qthelperfromc.h')
-rw-r--r-- | core/qthelperfromc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/qthelperfromc.h b/core/qthelperfromc.h index 4b2ef3d53..91fbde415 100644 --- a/core/qthelperfromc.h +++ b/core/qthelperfromc.h @@ -20,5 +20,6 @@ char *hashfile_name_string(); char *picturedir_string(); const char *subsurface_user_agent(); enum deco_mode decoMode(); +int parse_seabear_header(const char *filename, char **params, int pnr); #endif // QTHELPERFROMC_H |