From 57aacb64f37adc410d51f3c914356cf2d5b6c72a Mon Sep 17 00:00:00 2001 From: curt Date: Fri, 1 Jun 2001 17:52:50 +0000 Subject: [PATCH] - added an instance of SGCommandMgr - added a get_commands() method --- src/Main/globals.hxx | 5 +++++ 1 file changed, 5 insertions(+) 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; } -- 2.39.5