]> git.mxchange.org Git - flightgear.git/commitdiff
- added variable support for the saved command state and for the local
authorcurt <curt>
Fri, 29 Jun 2001 03:47:19 +0000 (03:47 +0000)
committercurt <curt>
Fri, 29 Jun 2001 03:47:19 +0000 (03:47 +0000)
  argument copy in FGBinding
- removed redundant FGBinding::_fire internal method
- declared copy constructor for FGBinding

src/Input/input.hxx

index bc7bb55c42bea973096520101eae86a7f6cc47ae..c046ba69d2e0bf284d46b63e1e4905441cfd7db2 100644 (file)
@@ -61,6 +61,12 @@ public:
   FGBinding ();
 
 
+  /**
+   * Copy constructor.
+   */
+  FGBinding (const FGBinding &binding);
+
+
   /**
    * Convenience constructor.
    *
@@ -126,10 +132,11 @@ public:
 
 
 private:
-  void _fire (const SGPropertyNode *arg) const;
   string _command_name;
   SGCommandMgr::command_t _command;
-  const SGPropertyNode * _arg;
+  mutable SGPropertyNode * _arg;
+  mutable SGPropertyNode * _setting;
+  mutable SGCommandState * _command_state;
 };