diff options
Diffstat (limited to 'display.h')
-rw-r--r-- | display.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -55,7 +55,12 @@ extern int is_default_dive_computer_device(const char *); extern int is_default_dive_computer(const char *, const char *); typedef void (*device_callback_t)(const char *name, void *userdata); -int enumerate_devices(device_callback_t callback, void *userdata); + +#define DC_TYPE_SERIAL 1 +#define DC_TYPE_UEMIS 2 +#define DC_TYPE_OTHER 3 + +int enumerate_devices(device_callback_t callback, void *userdata, int dc_type); extern const char *default_dive_computer_vendor; extern const char *default_dive_computer_product; |