diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2017-11-12 12:33:20 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-11-13 20:48:17 -0800 |
commit | de81effb258c9c55af299ef48e79df4de941b391 (patch) | |
tree | f4b4b0501046790fdeed71a307c295db8718f676 /core/pref.h | |
parent | 0d023068b340bea8db421523156b5b460eaea41d (diff) | |
download | subsurface-de81effb258c9c55af299ef48e79df4de941b391.tar.gz |
Make Bluetooth naming consistent
Currently, on Linux, after selecting a Bluetooth device the name of the
device is shown. On reopening the download dialog, on the other hand,
the address is shown. In the device selection dialog both are shown.
This patch changes the download dialog such that both, name and address,
are shown. The bulk of the patch introduces the name of the device in
the preferences and DCDeviceData. It has to be noted that DCDeviceData
is an encapsulation of the libdivecomputer device_data_t. Nevertheless,
the new Bluetooth-name field is, at the moment, not passed through to
libdivecomputer.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/pref.h')
-rw-r--r-- | core/pref.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/pref.h b/core/pref.h index 2d835dda1..d00d766a5 100644 --- a/core/pref.h +++ b/core/pref.h @@ -54,6 +54,7 @@ typedef struct { char *vendor; char *product; char *device; + char *device_name; int download_mode; } dive_computer_prefs_t; |