diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2012-10-29 21:48:43 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-10-29 13:16:46 -0700 |
commit | ab8af0bdeb09f35f0d40b455601995f833811b12 (patch) | |
tree | 7cc803ed39b7413e64f895ac428ae20bc65d8a77 /cochran.c | |
parent | 2de6f796354ad029e9e786027210fcf1b02868e2 (diff) | |
download | subsurface-ab8af0bdeb09f35f0d40b455601995f833811b12.tar.gz |
windows.c: added device retrieval from subsurface_fill_device_list()
subsurface_fill_device_list() now goes trough the list of registry
entries in the SERIALCOMM key and adds all present values (such as
COM1, COM2) to a GtkListStore. Once done the function compares
all logic drive label to a static list of known DC labels,
such a 'UEMISSDA', which is the only present one at the moment
and adds any matching drive letters (e.g. C:\, H:\) to the list store
as well.
If no serial ports were added or no matching logical drives were found
the function simply adds a default entry named "COM1".
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'cochran.c')
0 files changed, 0 insertions, 0 deletions