X-Git-Url: http://git.tdb.fi/?p=ext%2Fsubsurface.git;a=blobdiff_plain;f=libdivecomputer.h;h=633b3b1b1fa439f4b00312b58ad47091d31e1137;hp=c6e99fa732f9c79b38b1432c34fcc4abd77f2d5e;hb=d4b0ce1c86d420a308770a598a07c3815778dc57;hpb=e96a1864be076fcdf870188b95b1d43f16308590 diff --git a/libdivecomputer.h b/libdivecomputer.h index c6e99fa..633b3b1 100644 --- a/libdivecomputer.h +++ b/libdivecomputer.h @@ -20,20 +20,13 @@ /* don't forget to include the UI toolkit specific display-XXX.h first to get the definition of progressbar_t */ typedef struct device_data_t { - device_type_t type; - const char *name, *devname; + dc_descriptor_t *descriptor; + const char *vendor, *product, *devname; + dc_device_t *device; progressbar_t progress; - device_devinfo_t devinfo; - device_clock_t clock; int preexisting; } device_data_t; -struct device_list { - const char *name; - device_type_t type; -}; - -extern struct device_list device_list[]; extern GError *do_import(device_data_t *data); #endif