#define _FG_NAVCOM_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>
#include <Navaids/navlist.hxx>
#include <Sound/morse.hxx>
-class FGNavCom : public FGSubsystem
+class FGNavCom : public SGSubsystem
{
FGMorse morse;
SGPropertyNode *lat_node;
SGPropertyNode *alt_node;
SGPropertyNode *bus_power;
- SGPropertyNode *com_servicable, *nav_servicable;
- SGPropertyNode *cdi_servicable, *gs_servicable, *tofrom_servicable;
+ SGPropertyNode *com_serviceable, *nav_serviceable;
+ SGPropertyNode *cdi_serviceable, *gs_serviceable, *tofrom_serviceable;
string last_nav_id;
bool last_nav_vor;