]> git.tdb.fi Git - ext/subsurface.git/blob - libdivecomputer.h
c6e99fa732f9c79b38b1432c34fcc4abd77f2d5e
[ext/subsurface.git] / libdivecomputer.h
1 #ifndef LIBDIVECOMPUTER_H
2 #define LIBDIVECOMPUTER_H
3
4 /* libdivecomputer */
5 #include <device.h>
6 #include <suunto.h>
7 #include <reefnet.h>
8 #include <uwatec.h>
9 #include <oceanic.h>
10 #include <mares.h>
11 #include <hw.h>
12 #include <cressi.h>
13 #include <zeagle.h>
14 #include <atomics.h>
15 #include <utils.h>
16
17 /* handling uemis Zurich SDA files */
18 #include "uemis.h"
19
20 /* don't forget to include the UI toolkit specific display-XXX.h first
21    to get the definition of progressbar_t */
22 typedef struct device_data_t {
23         device_type_t type;
24         const char *name, *devname;
25         progressbar_t progress;
26         device_devinfo_t devinfo;
27         device_clock_t clock;
28         int preexisting;
29 } device_data_t;
30
31 struct device_list {
32         const char *name;
33         device_type_t type;
34 };
35
36 extern struct device_list device_list[];
37 extern GError *do_import(device_data_t *data);
38
39 #endif