From d9bcec28510cac77a55b003d50f721a18bfbe32a Mon Sep 17 00:00:00 2001 From: curt Date: Fri, 29 Jun 2001 03:47:19 +0000 Subject: [PATCH] - added variable support for the saved command state and for the local argument copy in FGBinding - removed redundant FGBinding::_fire internal method - declared copy constructor for FGBinding --- src/Input/input.hxx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/Input/input.hxx b/src/Input/input.hxx index bc7bb55c4..c046ba69d 100644 --- a/src/Input/input.hxx +++ b/src/Input/input.hxx @@ -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; }; -- 2.39.5