X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fnavradio.hxx;h=c731f1d2b7a3c896c2efce7c7035a1831d92931e;hb=1867ccb4a8484b9bc856c88629e09e25bcc35d42;hp=1c33f5eb60050738d52062ce5e46b4659592c438;hpb=aabea95d19b6d575600ee0fdddec19b4b023c7f0;p=flightgear.git diff --git a/src/Instrumentation/navradio.hxx b/src/Instrumentation/navradio.hxx index 1c33f5eb6..c731f1d2b 100644 --- a/src/Instrumentation/navradio.hxx +++ b/src/Instrumentation/navradio.hxx @@ -24,26 +24,17 @@ #ifndef _FG_NAVRADIO_HXX #define _FG_NAVRADIO_HXX - +#include #include
#include #include #include -// forward decls -class SGInterpTable; - class SGSampleGroup; -class FGNavRecord; -typedef SGSharedPtr FGNavRecordPtr; class FGNavRadio : public SGSubsystem, public SGPropertyChangeListener { - SGInterpTable *term_tbl; - SGInterpTable *low_tbl; - SGInterpTable *high_tbl; - SGPropertyNode_ptr _radio_node; SGPropertyNode_ptr bus_power_node; @@ -126,8 +117,8 @@ class FGNavRadio : public SGSubsystem, public SGPropertyChangeListener int play_count; bool _nav_search; double _last_freq; - FGNavRecordPtr _navaid; - FGNavRecordPtr _gs; + FGNavRecordRef _navaid; + FGNavRecordRef _gs; double target_radial; double effective_range; @@ -190,6 +181,7 @@ public: ~FGNavRadio(); void init (); + void reinit (); void bind (); void unbind (); void update (double dt);