Changeset 44 in tmcsimulator for trunk/src/tmcsim/cadsimulator/managers/MediaManager.java
- Timestamp:
- 06/23/2016 06:30:20 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tmcsim/cadsimulator/managers/MediaManager.java
r2 r44 19 19 import tmcsim.cadsimulator.videocontrol.DVDStatusUpdate; 20 20 import tmcsim.cadsimulator.videocontrol.DVDTitleUpdate; 21 import tmcsim.cadsimulator.viewer. CADSimulatorViewer;21 import tmcsim.cadsimulator.viewer.model.CADSimulatorModel; 22 22 import tmcsim.common.CCTVDirections; 23 23 import tmcsim.common.CCTVInfo; … … 73 73 private StillImagesDB theImage_DB = null; 74 74 75 /** Reference to the CADSimulator Viewer. */76 private CADSimulator Viewer theViewer;75 /** Reference to the CADSimulatorModel. */ 76 private CADSimulatorModel theModel; 77 77 78 78 /** Properties object for the Media portion of the CAD. */ … … 90 90 */ 91 91 public MediaManager(String propertiesFile, ATMSManager theATMSManager, 92 CADSimulator Viewer viewer) {92 CADSimulatorModel model) { 93 93 theDVD_DB = new DVDPlayerDB(); 94 94 theImage_DB = new StillImagesDB(); 95 95 96 the Viewer = viewer;96 theModel = model; 97 97 98 98 try { … … 166 166 ((DVDStatusUpdate)arg).exception); 167 167 } 168 the Viewer.updateDVDStatus((DVDStatusUpdate)arg);168 theModel.updateDVDStatus((DVDStatusUpdate)arg); 169 169 } 170 170 else if(arg instanceof DVDTitleUpdate) { 171 the Viewer.updateDVDTitle((DVDTitleUpdate)arg);171 theModel.updateDVDTitle((DVDTitleUpdate)arg); 172 172 } 173 173 }
Note: See TracChangeset
for help on using the changeset viewer.
