summaryrefslogtreecommitdiffstats
path: root/display-gtk.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2011-12-13 20:34:56 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2011-12-13 20:34:56 -0800
commit4b77a5def6df965cae63dec8b836e18e1e09cd58 (patch)
treeb360828cae21dce1c3cb3640de609dd02d4aa941 /display-gtk.h
parent001f6d05dca762de232c68b7ff10fdc999a61514 (diff)
downloadsubsurface-4b77a5def6df965cae63dec8b836e18e1e09cd58.tar.gz
Add reasonable default device names for divecomputer import
So far we hard coded /dev/ttyUSB0 - which is a good starting point in Linux but not so useful on Windows or MacOS. This was now moved into one of our OS helper functions with (somewhat) reasonable defaults. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'display-gtk.h')
-rw-r--r--display-gtk.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/display-gtk.h b/display-gtk.h
index 8ca5a450e..b20495731 100644
--- a/display-gtk.h
+++ b/display-gtk.h
@@ -32,6 +32,8 @@ extern void subsurface_set_conf(char *name, pref_type_t type, const void *value)
extern const void *subsurface_get_conf(char *name, pref_type_t type);
extern void subsurface_close_conf(void);
+extern const char *subsurface_USB_name(void);
+
extern visible_cols_t visible_cols;
extern const char *divelist_font;