VirtualBox

Ignore:
Timestamp:
Aug 13, 2020 8:47:12 AM (4 years ago)
Author:
vboxsync
Message:

DnD: Renaming -- DND_FORMATS_SEPARATOR -> DND_FORMATS_SEPARATOR_STR and DND_PATH_SEPARATOR -> DND_PATH_SEPARATOR_STR.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestDnDTargetImpl.cpp

    r85745 r85746  
    299299
    300300    LogRel2(("DnD: Offered formats to guest:\n"));
    301     RTCList<RTCString> lstFormats = strFormats.split(DND_PATH_SEPARATOR);
     301    RTCList<RTCString> lstFormats = strFormats.split(DND_PATH_SEPARATOR_STR);
    302302    for (size_t i = 0; i < lstFormats.size(); i++)
    303303        LogRel2(("DnD: \t%s\n", lstFormats[i].c_str()));
     
    840840
    841841#ifdef DEBUG
    842     RTCList<RTCString> lstFilesURI = RTCString((char *)pvData, cbData).split(DND_PATH_SEPARATOR);
     842    RTCList<RTCString> lstFilesURI = RTCString((char *)pvData, cbData).split(DND_PATH_SEPARATOR_STR);
    843843    LogFlowFunc(("lstFilesURI=%zu\n", lstFilesURI.size()));
    844844    for (size_t i = 0; i < lstFilesURI.size(); i++)
     
    14161416         */
    14171417        rc = DnDTransferListAppendPathsFromBuffer(&pCtx->Transfer.List, DNDTRANSFERLISTFMT_URI,
    1418                                                   (const char *)pCtx->Meta.pvData, pCtx->Meta.cbData, DND_PATH_SEPARATOR,
     1418                                                  (const char *)pCtx->Meta.pvData, pCtx->Meta.cbData, DND_PATH_SEPARATOR_STR,
    14191419                                                  DNDTRANSFERLIST_FLAGS_RECURSIVE);
    14201420        if (RT_FAILURE(rc))
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