]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/adf.hxx
Reintroduce an old bugture: use localizer as dme
[flightgear.git] / src / Instrumentation / adf.hxx
index 80de7d86046190e23a8bb0ac2c1bd2cf5a18c8d2..5b1b1667d5a8cbd8e0a1007f5cbf6d76d47356e7 100644 (file)
@@ -16,7 +16,6 @@
 #include <simgear/props/props.hxx>
 
 #include <simgear/structure/subsystem_mgr.hxx>
-#include <Sound/morse.hxx>
 
 using std::string;
 
@@ -82,6 +81,7 @@ private:
     SGPropertyNode_ptr _ident_node;
     SGPropertyNode_ptr _ident_audible_node;
     SGPropertyNode_ptr _volume_node;
+    SGPropertyNode_ptr _power_btn_node;
 
     double _time_before_search_sec;
 
@@ -92,13 +92,12 @@ private:
     SGVec3d _transmitter_cart;
     double _transmitter_range_nm;
 
-    FGMorse morse;
     int _ident_count;
     time_t _last_ident_time;
     float _last_volume;
     string _adf_ident;
 
-    SGSampleGroup *_sgr;
+    SGSharedPtr<SGSampleGroup> _sgr;
 };