X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCockpit%2Fradiostack.hxx;h=4d2255214ce2a800763f92621795d1432d8c6a54;hb=c0b4531d04215f76f9cf65afbdaed6b7c0b32634;hp=10d59cf09554320a5131b1807be1aa3bceee0b2c;hpb=2a73201ca81c8b5ac0f1a4d42a0a1ec5973f10c7;p=flightgear.git diff --git a/src/Cockpit/radiostack.hxx b/src/Cockpit/radiostack.hxx index 10d59cf09..4d2255214 100644 --- a/src/Cockpit/radiostack.hxx +++ b/src/Cockpit/radiostack.hxx @@ -25,11 +25,10 @@ #define _FG_RADIOSTACK_HXX -#include
#include
#include - +#include #include #include @@ -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; } };