Changeset 55514 in vbox for trunk/src/VBox
- Timestamp:
- Apr 29, 2015 11:46:33 AM (10 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/GuestDnDSourceImpl.h
r55512 r55514 87 87 int i_receiveRawData(PRECVDATACTX pCtx); 88 88 int i_receiveURIData(PRECVDATACTX pCtx); 89 int i_updateProcess(PRECVDATACTX pCtx, uint32_t cbDataAdd); 89 90 90 91 protected: 91 92 92 int i_updateProcess(PRECVDATACTX pCtx, uint32_t cbDataAdd); 93 /** Maximum data block size (in bytes) the source can handle. */ 94 uint32_t m_cbBlockSize; 93 95 }; 94 96 -
trunk/src/VBox/Main/src-client/GuestDnDSourceImpl.cpp
r55512 r55514 102 102 HRESULT GuestDnDSource::FinalConstruct(void) 103 103 { 104 /* Set the maximum block size this source can handle to 64K. This always has 105 * been hardcoded until now. */ 106 /* Note: Never ever rely on information from the guest; the host dictates what and 107 * how to do something, so try to negogiate a sensible value here later. */ 108 m_cbBlockSize = _64K; /** @todo Make this configurable. */ 109 104 110 LogFlowThisFunc(("\n")); 105 111 return BaseFinalConstruct(); … … 445 451 { 446 452 if ( cbData > cbTotalSize 447 || cbData > _64K) /** @todo Make this configurable? */453 || cbData > m_cbBlockSize) 448 454 { 449 455 LogFlowFunc(("Data sizes invalid: cbData=%RU32, cbTotalSize=%RU64\n", cbData, cbTotalSize)); -
trunk/src/VBox/Main/src-client/GuestDnDTargetImpl.cpp
r55512 r55514 111 111 /* Note: Never ever rely on information from the guest; the host dictates what and 112 112 * how to do something, so try to negogiate a sensible value here later. */ 113 m_cbBlockSize = _ 32K; /** @todo Make this configurable. */113 m_cbBlockSize = _64K; /** @todo Make this configurable. */ 114 114 115 115 LogFlowThisFunc(("\n"));
Note:
See TracChangeset
for help on using the changeset viewer.