summaryrefslogtreecommitdiffstats
path: root/display.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 /display.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 'display.h')
-rw-r--r--display.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/display.h b/display.h
index 8200770d7..d5c69e81b 100644
--- a/display.h
+++ b/display.h
@@ -3,6 +3,10 @@
#include <cairo.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define SCALE_SCREEN 1.0
#define SCALE_PRINT (1.0 / get_screen_dpi())
@@ -63,4 +67,8 @@ struct options {
extern char zoomed_plot, dc_number;
+#ifdef __cplusplus
+}
+#endif
+
#endif