mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
d11dfd2f45
commit
70e2404492
3 changed files with 5 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue