]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/Rotorpart.hpp
latest updates from JSBSim
[flightgear.git] / src / FDM / YASim / Rotorpart.hpp
index 7f50349c2c8723320208f24aac3ff84b651d25e1..8d68fa98fbe4969f339096d7cd86af7bb66fa2fc 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef _ROTORPART_HPP
 #define _ROTORPART_HPP
-#include <sstream>
-#include <iostream>
+#include <iosfwd>
+
 namespace yasim {
     class Rotor;
     class Rotorpart
@@ -69,7 +69,7 @@ namespace yasim {
         void setAlpha0(float f);
         void setAlpha0factor(float f);
         void setLen(float value);
-        void setParameter(char *parametername, float value);
+        void setParameter(const char *parametername, float value);
         void setRotor(Rotor *rotor);
         void setTorqueOfInertia(float toi);
         void writeInfo(std::ostringstream &buffer);