mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Import: Add Parsing for Divesoft Freedom+ Format Files.
Switch the Divesoft log file importer to use the parser in libdivecomputer. This adds support for the newer Divesoft Freedom+ log file format. Also refactor the OSTCTools log file importer to share common functionality. Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
parent
7dc92e170f
commit
7f42acfdfb
10 changed files with 153 additions and 588 deletions
|
@ -54,7 +54,8 @@ struct device_data_t {
|
|||
|
||||
const char *errmsg (dc_status_t rc);
|
||||
std::string do_libdivecomputer_import(device_data_t *data);
|
||||
dc_status_t libdc_buffer_parser(struct dive *dive, device_data_t *data, unsigned char *buffer, int size);
|
||||
int prepare_device_descriptor(int data_model, dc_family_t dc_fam, device_data_t &dev_data);
|
||||
dc_status_t libdc_buffer_parser(struct dive *dive, device_data_t *data, const unsigned char *buffer, int size);
|
||||
void logfunc(dc_context_t *context, dc_loglevel_t loglevel, const char *file, unsigned int line, const char *function, const char *msg, void *userdata);
|
||||
dc_descriptor_t *get_descriptor(dc_family_t type, unsigned int model);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue