Stop accessing the internals of dc_descriptor_t

This removes our own declaration of dc_descriptor_t and all our accesses
to its internals, and switches to use the libdivecomputer functions to
access those instead.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
This commit is contained in:
Anton Lundin 2016-12-29 15:41:44 +01:00 committed by Subsurface
parent d11dfd2f45
commit 70e2404492
3 changed files with 5 additions and 12 deletions

View file

@ -18,13 +18,6 @@
extern "C" {
#endif
struct dc_descriptor_t {
const char *vendor;
const char *product;
dc_family_t type;
unsigned int model;
};
/* 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