Changeset 36991 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- May 6, 2011 7:16:50 PM (14 years ago)
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/ConsoleImpl.h
r36439 r36991 191 191 HRESULT onUSBDeviceDetach(IN_BSTR aId, IVirtualBoxErrorInfo *aError); 192 192 HRESULT onBandwidthGroupChange(IBandwidthGroup *aBandwidthGroup); 193 HRESULT onStorageDeviceChange(IMediumAttachment *aMediumAttachment, BOOL aRemove); 193 194 HRESULT getGuestProperty(IN_BSTR aKey, BSTR *aValue, LONG64 *aTimestamp, BSTR *aFlags); 194 195 HRESULT setGuestProperty(IN_BSTR aKey, IN_BSTR aValue, IN_BSTR aFlags); … … 505 506 bool fAttachDetach, 506 507 bool fForceUnmount, 508 bool fHotplug, 507 509 PVM pVM, 508 510 DeviceType_T *paLedDevType); … … 571 573 #endif 572 574 575 static DECLCALLBACK(int) attachStorageDevice(Console *pThis, 576 PVM pVM, 577 const char *pcszDevice, 578 unsigned uInstance, 579 StorageBus_T enmBus, 580 bool fUseHostIOCache, 581 IMediumAttachment *aMediumAtt); 582 static DECLCALLBACK(int) detachStorageDevice(Console *pThis, 583 PVM pVM, 584 const char *pcszDevice, 585 unsigned uInstance, 586 StorageBus_T enmBus, 587 IMediumAttachment *aMediumAtt); 588 HRESULT doStorageDeviceAttach(IMediumAttachment *aMediumAttachment, PVM pVM); 589 HRESULT doStorageDeviceDetach(IMediumAttachment *aMediumAttachment, PVM pVM); 590 573 591 static DECLCALLBACK(int) fntTakeSnapshotWorker(RTTHREAD Thread, void *pvUser); 574 592 -
trunk/src/VBox/Main/include/MachineImpl.h
r36898 r36991 638 638 virtual HRESULT onSharedFolderChange() { return S_OK; } 639 639 virtual HRESULT onBandwidthGroupChange(IBandwidthGroup * /* aBandwidthGroup */) { return S_OK; } 640 virtual HRESULT onStorageDeviceChange(IMediumAttachment * /* mediumAttachment */, BOOL /* remove */) { return S_OK; } 640 641 641 642 HRESULT saveRegistryEntry(settings::MachineRegistryEntry &data); … … 833 834 void commit(); 834 835 void copyFrom(Machine *aThat); 836 bool isControllerHotplugCapable(StorageControllerType_T enmCtrlType); 835 837 836 838 struct DeleteTask; … … 1005 1007 HRESULT onSharedFolderChange(); 1006 1008 HRESULT onBandwidthGroupChange(IBandwidthGroup *aBandwidthGroup); 1009 HRESULT onStorageDeviceChange(IMediumAttachment *aMediumAttachment, BOOL aRemove); 1007 1010 1008 1011 bool hasMatchingUSBFilter(const ComObjPtr<HostUSBDevice> &aDevice, ULONG *aMaskedIfs); -
trunk/src/VBox/Main/include/SessionImpl.h
r35638 r36991 99 99 STDMETHOD(OnShowWindow)(BOOL aCheck, BOOL *aCanShow, LONG64 *aWinId); 100 100 STDMETHOD(OnBandwidthGroupChange)(IBandwidthGroup *aBandwidthGroup); 101 STDMETHOD(OnStorageDeviceChange)(IMediumAttachment *aMediumAttachment, BOOL aRemove); 101 102 STDMETHOD(AccessGuestProperty)(IN_BSTR aName, IN_BSTR aValue, IN_BSTR aFlags, 102 103 BOOL aIsSetter, BSTR *aRetValue, LONG64 *aRetTimestamp, BSTR *aRetFlags);
Note:
See TracChangeset
for help on using the changeset viewer.