]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/navradio.hxx
MapWidget for the GUI, initial commit.
[flightgear.git] / src / Instrumentation / navradio.hxx
index 41d662ff06f7ad6ddd540032c7ecacac7a713466..f272f6700419e77d9bc28caba378be590eb3e408 100644 (file)
@@ -39,7 +39,7 @@ class SGSampleGroup;
 class FGNavRecord;
 typedef SGSharedPtr<FGNavRecord> FGNavRecordPtr;
 
-class FGNavRadio : public SGSubsystem
+class FGNavRadio : public SGSubsystem, public SGPropertyChangeListener
 {
     FGMorse morse;
 
@@ -191,11 +191,6 @@ class FGNavRadio : public SGSubsystem
     
     void clearOutputs();
 
-    /**
-     * Compute the localizer width in degrees - see implementation for 
-     * more information on the relevant standards and formulae.
-     */
-    double localizerWidth(FGNavRecord* aLOC);
     FGNavRecord* findPrimaryNavaid(const SGGeod& aPos, double aFreqMHz);
     
     /// accessor for tied, read-only 'operable' property
@@ -212,6 +207,9 @@ class FGNavRadio : public SGSubsystem
       _tiedNodes.push_back(nd);
       nd->tie(aRawValue);
     }
+    
+  // implement SGPropertyChangeListener
+    virtual void valueChanged (SGPropertyNode * prop);
 public:
 
     FGNavRadio(SGPropertyNode *node);