]> git.mxchange.org Git - simgear.git/blobdiff - simgear/misc/commands.cxx
Patch from Cameron Moore:
[simgear.git] / simgear / misc / commands.cxx
index 2280b6642eb54a5c026c34ecf2430455a5555646..0b471651590d20068d376b46b35987e69fd81f67 100644 (file)
@@ -5,6 +5,7 @@
 // $Id$
 
 #include "commands.hxx"
+#include "props_io.hxx"
 
 
 \f
@@ -90,74 +91,4 @@ SGCommandMgr::execute (const string &name, const SGPropertyNode * arg,
     return (*command)(arg, state);
 }
 
-
-// bool
-// SGCommandMgr::execute (const string &name) const
-// {
-//                             // FIXME
-//   SGPropertyNode node;
-//   return execute(name, &node);
-// }
-
-
-// bool
-// SGCommandMgr::execute (const string &name, bool value) const
-// {
-//                             // FIXME
-//   SGPropertyNode node;
-//   node.setBoolValue(value);
-//   return execute(name, &node);
-// }
-
-
-// bool
-// SGCommandMgr::execute (const string &name, int value) const
-// {
-//                             // FIXME
-//   SGPropertyNode node;
-//   node.setIntValue(value);
-//   return execute(name, &node);
-// }
-
-
-// bool
-// SGCommandMgr::execute (const string &name, long value) const
-// {
-//                             // FIXME
-//   SGPropertyNode node;
-//   node.setLongValue(value);
-//   return execute(name, &node);
-// }
-
-
-// bool
-// SGCommandMgr::execute (const string &name, float value) const
-// {
-//                             // FIXME
-//   SGPropertyNode node;
-//   node.setFloatValue(value);
-//   return execute(name, &node);
-// }
-
-
-// bool
-// SGCommandMgr::execute (const string &name, double value) const
-// {
-//                             // FIXME
-//   SGPropertyNode node;
-//   node.setDoubleValue(value);
-//   return execute(name, &node);
-// }
-
-
-// bool
-// SGCommandMgr::execute (const string &name, string value) const
-// {
-//                             // FIXME
-//   SGPropertyNode node;
-//   node.setStringValue(value);
-//   return execute(name, &node);
-// }
-
-
 // end of commands.cxx