X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNavaids%2Fmarkerbeacon.hxx;h=8ac57dff282e9fb73b8cc147c5752b6ae0c5f7b6;hb=6bf47cd248ed388e6a4dd3ffa2d00977b00b62fb;hp=c1c458ce4eb5146b24a48d8706045859ded5445e;hpb=76958a038251a697ad798bce630e7d793797cf78;p=flightgear.git diff --git a/src/Navaids/markerbeacon.hxx b/src/Navaids/markerbeacon.hxx index c1c458ce4..8ac57dff2 100644 --- a/src/Navaids/markerbeacon.hxx +++ b/src/Navaids/markerbeacon.hxx @@ -28,23 +28,15 @@ #include "positioned.hxx" -// forward decls -class FGRunway; 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); 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