]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/logger.hxx
- Added ultra-light traffic is now a separate traffic class that can have its
[flightgear.git] / src / Main / logger.hxx
index 6b7d95291f219f2cee12f2a55279b503dff96efe..273ccd6b014b95726f90cd33f0ec741f72a861f4 100644 (file)
 
 #include <simgear/compiler.h>
 #include <simgear/debug/logstream.hxx>
-#include <simgear/misc/exception.hxx>
-#include <simgear/misc/props.hxx>
+#include <simgear/structure/exception.hxx>
+#include <simgear/structure/subsystem_mgr.hxx>
+#include <simgear/props/props.hxx>
 
 SG_USING_STD(ostream);
 SG_USING_STD(vector);
 
-#include "fgfs.hxx"
-
 
 /**
  * Log any property values to any number of CSV files.
  */
-class FGLogger : public FGSubsystem
+class FGLogger : public SGSubsystem
 {
 public:
 
   FGLogger ();
   virtual ~FGLogger ();
 
-                               // Implementation of FGSubsystem
+                               // Implementation of SGSubsystem
   virtual void init ();
   virtual void reinit ();
   virtual void bind ();
@@ -53,7 +52,7 @@ private:
   struct Log {
     Log ();
     virtual ~Log ();
-    vector<SGPropertyNode *> nodes;
+    vector<SGPropertyNode_ptr> nodes;
     ostream * output;
     long interval_ms;
     double last_time_ms;