Fix:core:Made gui.h c++ friendly
authorakashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Sun, 14 Mar 2010 15:26:31 +0000 (15:26 +0000)
committerakashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Sun, 14 Mar 2010 15:26:31 +0000 (15:26 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@3007 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit/gui.h

index b19b512..a5e6356 100644 (file)
@@ -20,6 +20,9 @@
 #ifndef NAVIT_GUI_H
 #define NAVIT_GUI_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 struct navit;
 struct gui_priv;
 struct menu_methods;
@@ -66,6 +69,9 @@ void gui_disable_suspend(struct gui *this_);
 int gui_has_main_loop(struct gui *this_);
 int gui_run_main_loop(struct gui *this_);
 /* end of prototypes */
+#ifdef __cplusplus
+}
+#endif
 
 #endif