Changeset 100413 in vbox for trunk/src/VBox/HostServices/SharedClipboard
- Timestamp:
- Jul 6, 2023 2:10:35 PM (20 months ago)
- svn:sync-xref-src-repo-rev:
- 158153
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc.cpp
r100367 r100413 1335 1335 } 1336 1336 1337 #if 0 /* ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS */1338 /*1339 * When the host wants to read URI data from the guest:1340 * - Initialize a transfer locally.1341 * - Request URI data from the guest; this tells the guest to initialize a transfer on the guest side.1342 * - Start the transfer locally once we receive the transfer INITIALIZED status from the guest via VBOX_SHCL_GUEST_FN_REPLY.1343 *1344 * When this function returns, the X11 clipboard will try reading the data, so we need to make sure that1345 * - the local HTTP server is up and running (will be done in ShClBackendTransferCreate() on X11)1346 * - the right (HTTP) URL data is filled into the clipboard1347 * by then.1348 */1349 if ( RT_SUCCESS(rc)1350 && (fFormat & VBOX_SHCL_FMT_URI_LIST))1351 {1352 PSHCLTRANSFER pTransfer;1353 rc = ShClSvcTransferInit(pClient, SHCLTRANSFERDIR_FROM_REMOTE, SHCLSOURCE_REMOTE, &pTransfer);1354 if (RT_SUCCESS(rc))1355 rc = shClSvcSetSource(pClient, SHCLSOURCE_REMOTE);1356 1357 if (RT_FAILURE(rc))1358 LogRel(("Shared Clipboard: Initializing guest -> host transfer failed with %Rrc\n", rc));1359 }1360 #endif1361 1337 /* Remove event from list if caller did not request event handle or in case 1362 1338 * of failure (in this case caller should not release event). */
Note:
See TracChangeset
for help on using the changeset viewer.