VirtualBox

Ignore:
Timestamp:
Nov 6, 2019 10:54:35 AM (5 years ago)
Author:
vboxsync
Message:

Shared Clipboard/Transfers: Update.

Location:
trunk/src/VBox/HostServices/SharedClipboard
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-x11.cpp

    r81451 r81699  
    7474    formatData.uFormats = u32Formats;
    7575
    76     int rc2 = shClSvcFormatsReport(pCtx->pClient, &formatData);
    77     AssertRC(rc2);
     76    int rc = shClSvcFormatsReport(pCtx->pClient, &formatData);
     77    RT_NOREF(rc);
     78
     79    LogFlowFuncLeaveRC(rc);
    7880}
    7981
     
    182184    RT_NOREF(pCmdCtx);
    183185
    184 #ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS
    185     if (pFormats->uFormats & VBOX_SHCL_FMT_URI_LIST) /* No transfer support yet. */
    186         return VINF_SUCCESS;
    187 #endif
    188 
    189     ClipAnnounceFormatToX11(pClient->State.pCtx->pBackend, pFormats->uFormats);
    190 
    191     return VINF_SUCCESS;
     186    int rc = ClipAnnounceFormatToX11(pClient->State.pCtx->pBackend, pFormats->uFormats);
     187
     188    LogFlowFuncLeaveRC(rc);
     189    return rc;
    192190}
    193191
     
    356354{
    357355    RT_NOREF(pClient, pTransfer);
    358     return VINF_SUCCESS;
     356
     357    int rc = VINF_SUCCESS;
     358
     359    LogFlowFuncLeaveRC(rc);
     360    return rc;
    359361}
    360362
     
    362364{
    363365    RT_NOREF(pClient, pTransfer);
    364     return VINF_SUCCESS;
     366
     367    int rc = VINF_SUCCESS;
     368
     369    LogFlowFuncLeaveRC(rc);
     370    return rc;
    365371}
    366372
     
    368374{
    369375    RT_NOREF(pClient, pTransfer);
    370     return VINF_SUCCESS;
     376
     377    int rc = VINF_SUCCESS;
     378
     379    LogFlowFuncLeaveRC(rc);
     380    return rc;
    371381}
    372382#endif
  • trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc.cpp

    r81559 r81699  
    17321732            }
    17331733            else
     1734            {
     1735                LogRel2(("Shared Clipboard: File transfers are disabled for this VM\n"));
    17341736                rc = VERR_ACCESS_DENIED;
     1737            }
    17351738#else
    1736             rc = VERR_NOT_IMPLEMENTED;
     1739            rc = VERR_NOT_SUPPORTED;
    17371740#endif
    17381741            break;
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