]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/native_fdm.hxx
Add generic input support
[flightgear.git] / src / Network / native_fdm.hxx
index 1820b3f2a8c2a9d16d65c81f06721c118a98f96d..b7013d13dab4a2dd7b3fc1b9d96ed76373338c80 100644 (file)
 
 #include <simgear/compiler.h>
 
+#include <simgear/timing/timestamp.hxx>
+
 #include <FDM/flight.hxx>
 
 #include "protocol.hxx"
-#include "raw_fdm.hxx"
+#include "net_fdm.hxx"
 
 
 class FGNativeFDM : public FGProtocol, public FGInterface {
 
-    FGRawFDM buf;
+    FGNetFDM buf;
     int length;
 
 public:
@@ -54,6 +56,15 @@ public:
 };
 
 
+// Helper functions which may be useful outside this class
+
+// Populate the FGNetFDM structure from the property tree.
+void FGProps2NetFDM( FGNetFDM *net, bool net_byte_order = true );
+
+// Update the property tree from the FGNetFDM structure.
+void FGNetFDM2Props( FGNetFDM *net, bool net_byte_order = true );
+
+
 #endif // _FG_NATIVE_FDM_HXX