]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/fg_io.cxx
Sync with latest JSBSim CVS
[flightgear.git] / src / Main / fg_io.cxx
index 9760f83e6ae925ef2fa1ac9bb00fa4915ca71728..8df8a559a87663585fac7fbe31bc051f0156348f 100644 (file)
@@ -32,6 +32,7 @@
 #include <simgear/io/sg_file.hxx>
 #include <simgear/io/sg_serial.hxx>
 #include <simgear/io/sg_socket.hxx>
+#include <simgear/io/sg_socket_udp.hxx>
 #include <simgear/math/sg_types.hxx>
 #include <simgear/timing/timestamp.hxx>
 
@@ -42,6 +43,7 @@
 #include <Network/joyclient.hxx>
 #include <Network/native.hxx>
 #include <Network/native_ctrls.hxx>
+#include <Network/native_fdm.hxx>
 #include <Network/nmea.hxx>
 #include <Network/props.hxx>
 #include <Network/pve.hxx>
@@ -100,6 +102,9 @@ static FGProtocol *parse_port_config( const string& config )
     } else if ( protocol == "native_ctrls" ) {
        FGNativeCtrls *native_ctrls = new FGNativeCtrls;
        io = native_ctrls;
+    } else if ( protocol == "native_fdm" ) {
+       FGNativeFDM *native_fdm = new FGNativeFDM;
+       io = native_fdm;
     } else if ( protocol == "nmea" ) {
        FGNMEA *nmea = new FGNMEA;
        io = nmea;