]> git.mxchange.org Git - flightgear.git/blobdiff - src/Navaids/markerbeacon.hxx
commradio: improvements for atis speech
[flightgear.git] / src / Navaids / markerbeacon.hxx
index c1c458ce4eb5146b24a48d8706045859ded5445e..23c88a0de1eaea1007f85d6e8e18af2a9f350ba3 100644 (file)
 #include <simgear/compiler.h>
 
 #include "positioned.hxx"
-
-// forward decls
-class FGRunway;
+#include <Airports/airports_fwd.hxx>
 
 class FGMarkerBeaconRecord : public FGPositioned
 {
 public:
-  static FGMarkerBeaconRecord* create(int aTy, const std::string& aName, const SGGeod& aPos);
 
+  FGMarkerBeaconRecord(PositionedID aGuid, Type aTy, PositionedID aRunway, const SGGeod& aPos);
+    
+    FGRunwayRef runway() const;
 private:
-  FGMarkerBeaconRecord(Type aTy, FGRunway* aRunway, const SGGeod& aPos);
-  
-  FGRunway* _runway; // should this be ref-ptr?
   
-  /**
-   * Helper to map a 'Robin' integer type to an FGPositioned::Type
-   */
-  static Type mapType(int aTy);
+  PositionedID _runway;
 };
 
 #endif // _FG_MARKERBEACON_HXX