diff options
author | Jef Driesen <jefdriesen@telenet.be> | 2013-05-14 20:50:55 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-14 14:59:03 -0400 |
commit | e3b8d8ee70d6323113355175abb0bf34940bc5e4 (patch) | |
tree | e3aefc1aa0593e30a104d7dedbcf129e6f79af8c /libdivecomputer.h | |
parent | 41373e467abc6cffe45cafff4644e7b4185ef049 (diff) | |
download | subsurface-e3b8d8ee70d6323113355175abb0bf34940bc5e4.tar.gz |
Conditionally enable the device combo box.
The device combo box is only necessary for the Uemis Zurich, and dive
computers using serial communication. For dive computers using IrDA or
USB communication, this combo box causes only confusion for the users.
Starting with libdivecomputer version 0.4, there is an api to query the
transport type, which can be used to enable/disable the device combo box
based on the selected model.
Signed-off-by: Jef Driesen <jefdriesen@telenet.be>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'libdivecomputer.h')
-rw-r--r-- | libdivecomputer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libdivecomputer.h b/libdivecomputer.h index 0950d32ae..2fd42c91a 100644 --- a/libdivecomputer.h +++ b/libdivecomputer.h @@ -2,6 +2,7 @@ #define LIBDIVECOMPUTER_H /* libdivecomputer */ +#include <libdivecomputer/version.h> #include <libdivecomputer/device.h> #include <libdivecomputer/parser.h> |