]> git.mxchange.org Git - flightgear.git/blobdiff - src/Navaids/markerbeacon.hxx
MapWidget: make use of the new POI system and display cities on the map.
[flightgear.git] / src / Navaids / markerbeacon.hxx
index c1c458ce4eb5146b24a48d8706045859ded5445e..8ac57dff282e9fb73b8cc147c5752b6ae0c5f7b6 100644 (file)
 
 #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