Changeset 35885 in vbox for trunk/src/VBox/Main/src-all
- Timestamp:
- Feb 8, 2011 1:20:04 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 69897
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-all/PciDeviceAttachmentImpl.cpp
r35684 r35885 33 33 fPhysical(afPhysical) 34 34 { 35 (void)aParent; 35 36 DevName = aDevName; 36 37 } … … 69 70 70 71 return m != NULL ? S_OK : E_FAIL; 72 } 73 74 HRESULT PciDeviceAttachment::loadSettings(IMachine *aParent, 75 const settings::HostPciDeviceAttachment &hpda) 76 { 77 Bstr bname(hpda.strDeviceName); 78 return init(aParent, bname, hpda.uHostAddress, hpda.uGuestAddress, TRUE); 79 } 80 81 82 HRESULT PciDeviceAttachment::saveSettings(settings::HostPciDeviceAttachment &data) 83 { 84 Assert(m); 85 data.uHostAddress = m->HostAddress; 86 data.uGuestAddress = m->GuestAddress; 87 data.strDeviceName = m->DevName; 88 89 return S_OK; 71 90 } 72 91
Note:
See TracChangeset
for help on using the changeset viewer.