]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/JSBSim/FGOutput.h
Various SGI portability tweaks.
[flightgear.git] / src / FDM / JSBSim / FGOutput.h
index 9741683bddc774dc7ad10129da9fc82bac2d9da7..fc94daa1833c1f3cbc834151dc033e0565647f6b 100644 (file)
@@ -40,7 +40,21 @@ INCLUDES
 
 #include "FGModel.h"
 
-using namespace std;
+#ifdef FGFS
+#  include <Include/compiler.h>
+#  ifdef FG_HAVE_STD_INCLUDES
+#    include <iostream>
+#    include <fstream>
+#  else
+#    include <iostream.h>
+#    include <fstream.h>
+#  endif
+#else
+#  include <iostream>
+#  include <fstream>
+#endif
+
+//using namespace std;
 
 /*******************************************************************************
 CLASS DECLARATION
@@ -54,13 +68,14 @@ public:
 
   bool Run(void);
 
-  void ConsoleOutput(void);
   void DelimitedOutput(void);
+  void DelimitedOutput(string);
 
 protected:
 
 private:
   bool FirstPass;
+  ofstream datafile;
 };
 
 /******************************************************************************/