]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/simple.hxx
Some additional changes to ensure that FlightGear at least compiles after configuring...
[flightgear.git] / src / Airports / simple.hxx
index d226d40f4b8ca1922eea99b5bb6a6d0c785b09f3..521c48c9abedb77afbe9435b675b6b04a17a966d 100644 (file)
@@ -121,6 +121,17 @@ public:
        }
      };
      
+     /**
+      * Filter which passes heliports and seaports in addition to airports
+      */
+     class PortsFilter : public AirportFilter
+     {
+     public:
+       virtual Type maxType() const {
+         return SEAPORT;
+       }
+     };
+     
      class HardSurfaceFilter : public AirportFilter
      {
      public: