]> git.tdb.fi Git - ext/subsurface.git/blobdiff - libdivecomputer.h
Fix profile and average depth for freedives
[ext/subsurface.git] / libdivecomputer.h
index 633b3b1b1fa439f4b00312b58ad47091d31e1137..6430c844841921bb0d85ae0142045546d498cfea 100644 (file)
@@ -2,17 +2,8 @@
 #define LIBDIVECOMPUTER_H
 
 /* libdivecomputer */
-#include <device.h>
-#include <suunto.h>
-#include <reefnet.h>
-#include <uwatec.h>
-#include <oceanic.h>
-#include <mares.h>
-#include <hw.h>
-#include <cressi.h>
-#include <zeagle.h>
-#include <atomics.h>
-#include <utils.h>
+#include <libdivecomputer/device.h>
+#include <libdivecomputer/parser.h>
 
 /* handling uemis Zurich SDA files */
 #include "uemis.h"
@@ -23,6 +14,7 @@ typedef struct device_data_t {
        dc_descriptor_t *descriptor;
        const char *vendor, *product, *devname;
        dc_device_t *device;
+       dc_context_t *context;
        progressbar_t progress;
        int preexisting;
 } device_data_t;