From: curt Date: Fri, 1 Jun 2001 17:52:50 +0000 (+0000) Subject: - added an instance of SGCommandMgr X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=57aacb64f37adc410d51f3c914356cf2d5b6c72a;p=flightgear.git - added an instance of SGCommandMgr - added a get_commands() method --- diff --git a/src/Main/globals.hxx b/src/Main/globals.hxx index 48169748c..8b5e9e6f7 100644 --- a/src/Main/globals.hxx +++ b/src/Main/globals.hxx @@ -34,6 +34,7 @@ #include #include #include +#include #include #include @@ -89,6 +90,8 @@ private: SGPropertyNode *props; SGPropertyNode *initial_state; + SGCommandMgr *commands; + // list of serial port-like configurations string_list *channel_options_list; @@ -139,6 +142,8 @@ public: inline SGPropertyNode *get_props () { return props; } inline void set_props( SGPropertyNode *n ) { props = n; } + inline SGCommandMgr *get_commands () { return commands; } + inline string_list *get_channel_options_list () { return channel_options_list; }