Changeset 76891 in vbox for trunk/src/VBox/Main/src-client/GuestDnDTargetImpl.cpp
- Timestamp:
- Jan 18, 2019 1:17:20 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestDnDTargetImpl.cpp
r76553 r76891 652 652 { 653 653 delete pTask; 654 LogRel2(("DnD: Could not create SendDataTask object 654 LogRel2(("DnD: Could not create SendDataTask object\n")); 655 655 throw hr = E_FAIL; 656 656 } … … 686 686 return hr; 687 687 #endif /* VBOX_WITH_DRAG_AND_DROP */ 688 }689 690 int GuestDnDTarget::i_cancelOperation(void)691 {692 /** @todo Check for pending cancel requests. */693 694 #if 0 /** @todo Later. */695 /* Cancel any outstanding waits for guest responses first. */696 if (pResp)697 pResp->notifyAboutGuestResponse();698 #endif699 700 LogFlowFunc(("Cancelling operation, telling guest ...\n"));701 702 GuestDnDMsg Msg;703 Msg.setType(HOST_DND_HG_EVT_CANCEL);704 if (mDataBase.m_uProtocolVersion >= 3)705 Msg.setNextUInt32(0); /** @todo ContextID not used yet. */706 707 return GuestDnDInst()->hostCall(Msg.getType(), Msg.getCount(), Msg.getParms());708 688 } 709 689 … … 1553 1533 #else /* VBOX_WITH_DRAG_AND_DROP */ 1554 1534 1555 int rc = i_cancelOperation();1535 int rc = GuestDnDBase::sendCancel(); 1556 1536 1557 1537 if (aVeto)
Note:
See TracChangeset
for help on using the changeset viewer.