]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/ATCdisplay.hxx
Fix the nmea and garmin output to a) fake a GSA sentence, b) fix a y2k bug
[flightgear.git] / src / ATC / ATCdisplay.hxx
index ba50fd6c52d261ba215d178c86b1e0cd9c131036..0734e446f9956d74f0a4e70b452ca82638157277 100644 (file)
@@ -27,7 +27,7 @@
 #  include <config.h>
 #endif
 
-#include <Main/fgfs.hxx>
+#include <simgear/structure/subsystem_mgr.hxx>
 
 #include <vector>
 #include <string>
@@ -49,7 +49,7 @@ struct atcMessage {
 typedef vector<atcMessage> atcMessageList;
 typedef atcMessageList::iterator atcMessageListIterator;
 
-class FGATCDisplay : public FGSubsystem 
+class FGATCDisplay : public SGSubsystem 
 {
 
 private:
@@ -76,7 +76,7 @@ public:
 
     // Register a single message for display after a delay of delay seconds
     // Will automatically stop displaying after a suitable interval.
-    void RegisterSingleMessage(string msg, double delay);      // OK - I know passing a string in and out is probably not good but it will have to do for now.
+    void RegisterSingleMessage(string msg, double delay = 0.0);        // OK - I know passing a string in and out is probably not good but it will have to do for now.
 
     // For now we will assume only one repeating message at once
     // This is not really robust