]> git.tdb.fi Git - ext/subsurface.git/blob - libdivecomputer.h
Merge branch 'freediving-tweaks' of git://github.com/mguentner/subsurface
[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
8 /* handling uemis Zurich SDA files */
9 #include "uemis.h"
10
11 /* don't forget to include the UI toolkit specific display-XXX.h first
12    to get the definition of progressbar_t */
13 typedef struct device_data_t {
14         dc_descriptor_t *descriptor;
15         const char *vendor, *product, *devname;
16         dc_device_t *device;
17         dc_context_t *context;
18         progressbar_t progress;
19         int preexisting;
20 } device_data_t;
21
22 extern GError *do_import(device_data_t *data);
23
24 #endif