]> git.tdb.fi Git - ext/subsurface.git/blob - libdivecomputer.h
Might as well free current_file
[ext/subsurface.git] / libdivecomputer.h
1 #ifndef LIBDIVECOMPUTER_H
2 #define LIBDIVECOMPUTER_H
3
4 /* libdivecomputer */
5 #include <libdivecomputer/device.h>
6 #include <libdivecomputer/parser.h>
7 #include <libdivecomputer/utils.h>
8
9 /* handling uemis Zurich SDA files */
10 #include "uemis.h"
11
12 /* don't forget to include the UI toolkit specific display-XXX.h first
13    to get the definition of progressbar_t */
14 typedef struct device_data_t {
15         dc_descriptor_t *descriptor;
16         const char *vendor, *product, *devname;
17         dc_device_t *device;
18         progressbar_t progress;
19         int preexisting;
20 } device_data_t;
21
22 extern GError *do_import(device_data_t *data);
23
24 #endif