Changeset 23231 in vbox for trunk/src/VBox
- Timestamp:
- Sep 22, 2009 4:58:08 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/HostImpl.cpp
r23228 r23231 1558 1558 hostDVDDriveObj.createObject(); 1559 1559 hostDVDDriveObj->init(mParent, DeviceType_DVD, 1560 Bstr(devNode), description);1560 Bstr(devNode), Bstr(description)); 1561 1561 list.push_back (hostDVDDriveObj); 1562 1562 } … … 1720 1720 ComObjPtr<Medium> hostFloppyDrive; 1721 1721 hostFloppyDrive.createObject(); 1722 host DVDDriveObj->init(mParent, DeviceType_DVD,1723 Bstr(devNode), description);1722 hostFloppyDrive->init(mParent, DeviceType_DVD, 1723 Bstr(devNode), Bstr(description)); 1724 1724 list.push_back (hostFloppyDrive); 1725 1725 } … … 1734 1734 ComObjPtr<Medium> hostFloppyDrive; 1735 1735 hostFloppyDrive.createObject(); 1736 host DVDDriveObj->init(mParent, DeviceType_DVD,1736 hostFloppyDrive->init(mParent, DeviceType_DVD, 1737 1737 Bstr(devNode)); 1738 1738 list.push_back (hostFloppyDrive); … … 1800 1800 #endif /* RT_OS_SOLARIS and VBOX_USE_HAL */ 1801 1801 1802 /** @todo get rid of dead code below - RT_OS_SOLARIS and RT_OS_LINUX are never both set 1802 1803 #if defined(RT_OS_SOLARIS) 1803 1804 … … 1857 1858 ComObjPtr<Medium> hostDVDDriveObj; 1858 1859 hostDVDDriveObj.createObject(); 1859 hostDVDDriveObj->init (Bstr(mnt_dev));1860 hostDVDDriveObj->init(mParent, DeviceType_DVD, Bstr(mnt_dev)); 1860 1861 list.push_back (hostDVDDriveObj); 1861 1862 } … … 1889 1890 ComObjPtr<Medium> hostDVDDriveObj; 1890 1891 hostDVDDriveObj.createObject(); 1891 hostDVDDriveObj->init (Bstr(rawDevName));1892 hostDVDDriveObj->init(mParent, DeviceType_DVD, Bstr(rawDevName)); 1892 1893 list.push_back (hostDVDDriveObj); 1893 1894 }
Note:
See TracChangeset
for help on using the changeset viewer.