summaryrefslogtreecommitdiffstats
path: root/device.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-06-10 13:35:27 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-06-10 13:35:27 -0300
commit3eac2360e7173580c7325ccb9814be538d3ee078 (patch)
tree3a5989688dac4f548c9454da6f1c441eb1f02210 /device.h
parentbd8470ebcfe07a347c3c47d2a72e0b8cdd316630 (diff)
downloadsubsurface-3eac2360e7173580c7325ccb9814be538d3ee078.tar.gz
Moved the 'create fake dc' to it's own function in device.c
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'device.h')
-rw-r--r--device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/device.h b/device.h
index 636eb73c6..086b4a5bb 100644
--- a/device.h
+++ b/device.h
@@ -2,6 +2,7 @@
#define DEVICE_INFO_H
#ifdef __cplusplus
+#include "dive.h"
extern "C" {
#endif
@@ -20,6 +21,7 @@ extern struct device_info *get_different_device_info(const char *model, uint32_t
extern struct device_info *create_device_info(const char *model, uint32_t deviceid);
extern struct device_info *remove_device_info(const char *model, uint32_t deviceid);
extern struct device_info *head_of_device_info_list(void);
+extern struct divecomputer *fake_dc(struct divecomputer* dc);
#ifdef __cplusplus
}