- added an instance of SGCommandMgr
- added a get_commands() method
This commit is contained in:
parent
1b0878a835
commit
57aacb64f3
1 changed files with 5 additions and 0 deletions
|
@ -34,6 +34,7 @@
|
|||
#include <simgear/magvar/magvar.hxx>
|
||||
#include <simgear/route/route.hxx>
|
||||
#include <simgear/timing/sg_time.hxx>
|
||||
#include <simgear/misc/commands.hxx>
|
||||
#include <simgear/misc/props.hxx>
|
||||
|
||||
#include <Sound/soundmgr.hxx>
|
||||
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue