+
+ inline SGRoute *get_route() const { return route; }
+ inline void set_route( SGRoute *r ) { route = r; }
+
+ inline FGSoundMgr *get_soundmgr() const { return soundmgr; }
+ inline void set_soundmgr( FGSoundMgr *sm ) { soundmgr = sm; }
+
+ inline FGViewMgr *get_viewmgr() const { return viewmgr; }
+ inline void set_viewmgr( FGViewMgr *vm ) { viewmgr = vm; }
+ inline FGViewer *get_current_view() const { return current_view; }
+ inline void set_current_view( FGViewer *v ) { current_view = v; }
+
+ 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;
+ }
+ inline void set_channel_options_list( string_list *l ) {
+ channel_options_list = l;
+ }
+
+
+ /**
+ * Save the current state as the initial state.
+ */
+ void saveInitialState ();
+
+
+ /**
+ * Restore the saved initial state, if any.
+ */
+ void restoreInitialState ();
+