]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/ATC.hxx
A few small updates to make ATC IRIX compliant.
[flightgear.git] / src / ATC / ATC.hxx
index d0cd38dafb9c71651fe6023e3662ba245d87fd80..777ccdbd8607cdc19ec6b38c50d11c7c3d17530b 100644 (file)
 #ifndef _FG_ATC_HXX
 #define _FG_ATC_HXX
 
+#include <simgear/compiler.h>
+
+#include STL_IOSTREAM
+#include STL_STRING
+
+#ifndef SG_HAVE_NATIVE_SGI_COMPILERS
+SG_USING_STD(ostream);
+#endif
+SG_USING_STD(string);
+
 // Possible types of ATC type that the radios may be tuned to.
 // INVALID implies not tuned in to anything.
 enum atc_type {
@@ -32,7 +42,9 @@ enum atc_type {
     APPROACH,
     DEPARTURE,
     ENROUTE
-};  
+}; 
+
+ostream& operator << (ostream& os, atc_type atc);
 
 class FGATC {
 
@@ -43,6 +55,12 @@ public:
     // Run the internal calculations
     virtual void Update();
 
+    // Add plane to a stack
+    virtual void AddPlane(string pid);
+
+    // Remove plane from stack
+    virtual int RemovePlane();
+
     // Indicate that this instance should output to the display if appropriate 
     virtual void SetDisplay();