+ inline SGMaterialLib *get_matlib() const { return matlib; }
+ inline void set_matlib( SGMaterialLib *m ) { matlib = m; }
+
+ inline FGATCMgr *get_ATC_mgr() const { return ATC_mgr; }
+ inline void set_ATC_mgr( FGATCMgr *a ) {ATC_mgr = a; }
+
+ inline FGPanel *get_current_panel() const { return current_panel; }
+ inline void set_current_panel( FGPanel *cp ) { current_panel = cp; }
+
+ inline FGControls *get_controls() const { return controls; }
+ inline void set_controls( FGControls *c ) { controls = c; }
+
+ inline FGViewMgr *get_viewmgr() const { return viewmgr; }
+ inline void set_viewmgr( FGViewMgr *vm ) { viewmgr = vm; }
+ FGViewer *get_current_view() const;
+
+ inline SGPropertyNode *get_props () { return props; }
+ inline void set_props( SGPropertyNode *n ) { props = n; }
+
+ inline SGPropertyNode *get_locale () { return locale; }
+ inline void set_locale( SGPropertyNode *n ) { locale = n; }
+
+ inline SGCommandMgr *get_commands () { return commands; }
+
+ inline FGAircraftModel *get_aircraft_model () { return acmodel; }
+
+ inline void set_aircraft_model (FGAircraftModel * model)
+ {
+ acmodel = model;
+ }
+
+ inline FGModelMgr *get_model_mgr () { return model_mgr; }
+
+ inline void set_model_mgr (FGModelMgr * mgr)
+ {
+ model_mgr = mgr;
+ }
+
+ inline string_list *get_channel_options_list () {
+ return channel_options_list;
+ }
+ inline void set_channel_options_list( string_list *l ) {
+ channel_options_list = l;
+ }
+
+ inline string_list *get_initial_waypoints () {
+ return initial_waypoints;
+ }
+
+ inline void set_initial_waypoints (string_list *list) {
+ initial_waypoints = list;
+ }
+
+ inline FGScenery * get_scenery () const { return scenery; }
+ inline void set_scenery ( FGScenery *s ) { scenery = s; }
+
+ inline FGTileMgr * get_tile_mgr () const { return tile_mgr; }
+ inline void set_tile_mgr ( FGTileMgr *t ) { tile_mgr = t; }
+
+ inline FGFontCache *get_fontcache() const { return fontcache; }
+
+ inline FGNavList *get_navlist() const { return navlist; }
+ inline void set_navlist( FGNavList *n ) { navlist = n; }
+ inline FGNavList *get_loclist() const { return loclist; }
+ inline void set_loclist( FGNavList *n ) { loclist = n; }
+ inline FGNavList *get_gslist() const { return gslist; }
+ inline void set_gslist( FGNavList *n ) { gslist = n; }
+ inline FGNavList *get_dmelist() const { return dmelist; }
+ inline void set_dmelist( FGNavList *n ) { dmelist = n; }
+ inline FGNavList *get_tacanlist() const { return tacanlist; }
+ inline void set_tacanlist( FGNavList *n ) { tacanlist = n; }
+ inline FGNavList *get_carrierlist() const { return carrierlist; }
+ inline void set_carrierlist( FGNavList *n ) { carrierlist = n; }
+ inline FGTACANList *get_channellist() const { return channellist; }
+ inline void set_channellist( FGTACANList *c ) { channellist = c; }
+
+ /**
+ * Save the current state as the initial state.
+ */
+ void saveInitialState ();
+
+
+ /**
+ * Restore the saved initial state, if any.
+ */
+ void restoreInitialState ();
+