]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/logger.hxx
Added static port system and a new altimeter model connected to it.
[flightgear.git] / src / Main / logger.hxx
index cdadc25306c45685a2f990251e1adb8b54565e8a..b585210d9033fc3531524444e0456029a1f1706c 100644 (file)
 #include <simgear/misc/exception.hxx>
 #include <simgear/misc/props.hxx>
 
+#ifndef SG_HAVE_NATIVE_SGI_COMPILERS
 #include <iostream>
 SG_USING_STD(ostream);
+#endif
 
 #include <vector>
 SG_USING_STD(vector);
@@ -42,7 +44,7 @@ public:
   virtual void init ();
   virtual void bind ();
   virtual void unbind ();
-  virtual void update (int dt);
+  virtual void update (double dt);
 
 private:
 
@@ -55,7 +57,7 @@ private:
     vector<SGPropertyNode *> nodes;
     ostream * output;
     long interval_ms;
-    long last_time_ms;
+    double last_time_ms;
     char delimiter;
   };