]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/globals.hxx
- adjusted for no-value constructor for FGPanel
[flightgear.git] / src / Main / globals.hxx
index 79afec3b20bd95fc388ad0e5d953571ad85df870..8b5e9e6f718462b958ab9436630b1bfb0a966517 100644 (file)
 #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 "soundmgr.hxx"
+#include <Sound/soundmgr.hxx>
 #include "viewmgr.hxx"
 
-FG_USING_STD( vector );
-FG_USING_STD( string );
+SG_USING_STD( vector );
+SG_USING_STD( string );
 
 typedef vector<string> string_list;
 
@@ -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;
     }