VirtualBox

Ignore:
Timestamp:
Dec 6, 2019 2:22:03 PM (5 years ago)
Author:
vboxsync
Message:

Shared Clipboard/Transfers: Renamed SHCLTRANSFERDIR_[READ|WRITE] -> SHCLTRANSFERDIR_[FROM|TO]_REMOTE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp

    r82460 r82462  
    818818         * Make sure the transfer direction matches the open/create parameters.
    819819         */
    820         if (pTransfer->State.enmDir == SHCLTRANSFERDIR_READ)
     820        if (pTransfer->State.enmDir == SHCLTRANSFERDIR_FROM_REMOTE)
    821821        {
    822822            if (pOpenCreateParms->fCreate & SHCL_OBJ_CF_ACCESS_READ) /* Read access wanted? */
     
    827827            }
    828828        }
    829         else if (pTransfer->State.enmDir == SHCLTRANSFERDIR_WRITE)
     829        else if (pTransfer->State.enmDir == SHCLTRANSFERDIR_TO_REMOTE)
    830830        {
    831831            if (pOpenCreateParms->fCreate & SHCL_OBJ_CF_ACCESS_WRITE) /* Write access wanted? */
     
    854854                    /* Only if this is a read transfer (locally) we're able to actually write to files
    855855                     * (we're reading from the source). */
    856                     const bool fWritable = pTransfer->State.enmDir == SHCLTRANSFERDIR_READ;
     856                    const bool fWritable = pTransfer->State.enmDir == SHCLTRANSFERDIR_FROM_REMOTE;
    857857
    858858                    uint64_t fOpen;
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