summaryrefslogtreecommitdiffstats
path: root/divelist.h
diff options
context:
space:
mode:
authorGravatar Alberto Mardegan <mardy@users.sourceforge.net>2013-04-01 13:51:49 +0300
committerGravatar Alberto Mardegan <mardy@users.sourceforge.net>2013-04-01 16:03:59 +0300
commit578d633d0148a13397f330aa91af1470843d73c1 (patch)
tree3fe9b442b5c62a0b2bf0dc54f463f02594b51e24 /divelist.h
parent42365ede79ec34dba58447458bbc3f1c66cba7d1 (diff)
downloadsubsurface-578d633d0148a13397f330aa91af1470843d73c1.tar.gz
Have some C++ file in the project
Rename gtk-gui.c to qt-gui.cpp, and make the necessary changes so that the project still builds. Signed-off-by: Alberto Mardegan <mardy@users.sourceforge.net>
Diffstat (limited to 'divelist.h')
-rw-r--r--divelist.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/divelist.h b/divelist.h
index 856318e2d..c9ec973f7 100644
--- a/divelist.h
+++ b/divelist.h
@@ -1,6 +1,10 @@
#ifndef DIVELIST_H
#define DIVELIST_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct dive;
extern void dive_list_update_dives(void);
@@ -16,4 +20,9 @@ extern void select_prev_dive(void);
extern void show_and_select_dive(struct dive *dive);
extern double init_decompression(struct dive * dive);
extern void export_all_dives_uddf_cb();
+
+#ifdef __cplusplus
+}
+#endif
+
#endif