]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/radiostack.hxx
Yank out all the glut dependencies and concentrate them in a (easily
[flightgear.git] / src / Cockpit / radiostack.hxx
index 10d59cf09554320a5131b1807be1aa3bceee0b2c..4d2255214ce2a800763f92621795d1432d8c6a54 100644 (file)
 #define _FG_RADIOSTACK_HXX
 
 
-#include <Main/fgfs.hxx>
 #include <Main/fg_props.hxx>
 
 #include <simgear/compiler.h>
-
+#include <simgear/structure/subsystem_mgr.hxx>
 #include <simgear/math/interpolater.hxx>
 #include <simgear/timing/timestamp.hxx>
 
@@ -45,7 +44,7 @@
 #include "navcom.hxx"
 
 
-class FGRadioStack : public FGSubsystem
+class FGRadioStack : public SGSubsystem
 {
     FGDME dme;
     FGKR_87 adf;                // King KR 87 Digital ADF model
@@ -67,6 +66,7 @@ public:
     // Update nav/adf radios based on current postition
     void search ();
 
+    inline FGDME *get_dme() { return &dme; }
     inline FGNavCom *get_navcom1() { return &navcom1; }
     inline FGNavCom *get_navcom2() { return &navcom2; }
 };