]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/gui.h
Support for multiple data dirs.
[flightgear.git] / src / GUI / gui.h
index f778349dd11024a951bfcc8cb790a565731cff1a..c191c15d91f44673d38e3b099ebfc238936b42f5 100644 (file)
 #  include <config.h>
 #endif
 
-#ifdef HAVE_WINDOWS_H
-#  include <windows.h>
-#endif
-
 #include <plib/pu.h>
 
 #include <simgear/structure/exception.hxx>
 
 #define TR_HIRES_SNAP   1
 
-
+namespace osg
+{
+class GraphicsContext;
+}
 // gui.cxx
-extern void guiStartInit();
-extern bool guiFinishInit();
+extern bool guiInit();
+extern bool openBrowser(const std::string& address);
 extern void mkDialog(const char *txt);
 extern void guiErrorMessage(const char *txt);
 extern void guiErrorMessage(const char *txt, const sg_throwable &throwable);
@@ -50,21 +49,19 @@ extern void guiErrorMessage(const char *txt, const sg_throwable &throwable);
 extern bool fgDumpSnapShot();
 extern void fgDumpSceneGraph();
 extern void fgDumpTerrainBranch();
+extern void fgPrintVisibleSceneInfoCommand();
 
 extern puFont guiFnt;
 extern fntTexFont *guiFntHandle;
 extern int gui_menu_on;
 
 // from gui_funcs.cxx
-extern void reInit(void);
 extern void fgDumpSnapShotWrapper();
 #ifdef TR_HIRES_SNAP
 extern void fgHiResDumpWrapper();
 extern void fgHiResDump();
 #endif
-#if defined( WIN32 ) && !defined( __CYGWIN__) && !defined(__MINGW32__)
-extern void printScreen();
-#endif
+
 extern void helpCb();
 
 typedef struct {