VirtualBox

Changeset 85557 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jul 30, 2020 1:28:57 PM (4 years ago)
Author:
vboxsync
Message:

DnD: Defined DND_DEFAULT_CHUNK_SIZE and use it where appropriate.

Location:
trunk/src/VBox/Main
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/GuestDnDPrivate.h

    r85554 r85557  
    358358     *
    359359     * @param   cbBuf           Scratch buffer size (in bytes) to use.
    360      */
    361     int init(size_t cbBuf = _64K)
     360     *                          If not specified, DND_DEFAULT_CHUNK_SIZE will be used.
     361     */
     362    int init(size_t cbBuf = DND_DEFAULT_CHUNK_SIZE)
    362363    {
    363364        reset();
  • trunk/src/VBox/Main/src-client/GuestDnDSourceImpl.cpp

    r85554 r85557  
    125125     *       how to do something, so try to negogiate a sensible value here later.
    126126     */
    127     mData.mcbBlockSize = _64K; /** @todo Make this configurable. */
     127    mData.mcbBlockSize = DND_DEFAULT_CHUNK_SIZE; /** @todo Make this configurable. */
    128128
    129129    LogFlowThisFunc(("\n"));
  • trunk/src/VBox/Main/src-client/GuestDnDTargetImpl.cpp

    r85554 r85557  
    123123    /* Note: Never ever rely on information from the guest; the host dictates what and
    124124     *       how to do something, so try to negogiate a sensible value here later. */
    125     mData.mcbBlockSize = _64K; /** @todo Make this configurable. */
     125    mData.mcbBlockSize = DND_DEFAULT_CHUNK_SIZE; /** @todo Make this configurable. */
    126126
    127127    LogFlowThisFunc(("\n"));
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette