Changeset 36058 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Feb 22, 2011 11:11:22 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 70171
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/MachineImpl.h
r35836 r36058 33 33 #include "StorageControllerImpl.h" // required for MachineImpl.h to compile on Windows 34 34 #include "BandwidthControlImpl.h" 35 #include "BandwidthGroupImpl.h" 35 36 #include "VBox/settings.h" 36 37 #ifdef VBOX_WITH_RESOURCE_USAGE_API … … 716 717 void releaseStateDependency(); 717 718 719 HRESULT getBandwidthGroup(const Utf8Str &strBandwidthGroup, 720 ComObjPtr<BandwidthGroup> &pBandwidthGroup, 721 bool fSetError = false) 722 { 723 return mBandwidthControl->getBandwidthGroupByName(strBandwidthGroup, 724 pBandwidthGroup, 725 fSetError); 726 } 727 718 728 protected: 719 729 -
trunk/src/VBox/Main/include/MediumAttachmentImpl.h
r35638 r36058 48 48 DeviceType_T aType, 49 49 bool fPassthrough, 50 BandwidthGroup *aBandwidthGroup);50 const Utf8Str &strBandwidthGroup); 51 51 void uninit(); 52 52 … … 78 78 DeviceType_T getType() const; 79 79 bool getPassthrough() const; 80 const ComObjPtr<BandwidthGroup>& getBandwidthGroup() const;80 const Utf8Str& getBandwidthGroup() const; 81 81 82 82 bool matches(CBSTR aControllerName, LONG aPort, LONG aDevice); … … 89 89 90 90 /** Must be called from under this object's write lock. */ 91 void updateBandwidthGroup(const ComObjPtr<BandwidthGroup>&aBandwidthGroup);91 void updateBandwidthGroup(const Utf8Str &aBandwidthGroup); 92 92 93 93 /** Get a unique and somewhat descriptive name for logging. */
Note:
See TracChangeset
for help on using the changeset viewer.