- Timestamp:
- May 18, 2019 4:24:19 PM (6 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/SharedClipboard/clipboard-x11.cpp
r78581 r78582 83 83 CLIPX11FORMATTARGET_UTF8, 84 84 CLIPX11FORMATTARGET_BMP, 85 CLIPX11FORMATTARGET_HTML ,85 CLIPX11FORMATTARGET_HTML 86 86 #ifdef VBOX_WITH_SHARED_CLIPBOARD_URI_LIST 87 CLIPX11FORMATTARGET_URI_LIST87 , CLIPX11FORMATTARGET_URI_LIST 88 88 #endif 89 89 } CLIPX11FORMATTARGET; … … 177 177 #ifdef TESTCASE 178 178 /** Lookup the X11 format matching a given X11 atom text. 179 * @returns the format on success, NIL_CLIPX11FORMAT on failure179 * @returns the format on success, NIL_CLIPX11FORMATTARGET on failure 180 180 * @param widget a valid Xt widget 181 181 */ … … 192 192 * Enumerates supported X11 clipboard formats corresponding to a given VBox format. 193 193 * 194 * @returns the next matching X11 format in the list, or NIL_CLIPX11FORMAT if194 * @returns the next matching X11 format in the list, or NIL_CLIPX11FORMATTARGET if 195 195 * there are no more 196 196 * @param lastFmtIdx The format index returned from the last call of this function. … … 415 415 { 416 416 bool success = true; 417 CLIPX11FORMAT targets[2];418 CLIPX11FORMAT x11Format;417 CLIPX11FORMATTARGET targets[2]; 418 CLIPX11FORMATTARGET x11Format; 419 419 targets[0] = clipGetFmtIdxFromAtomText("text/plain"); 420 420 targets[1] = clipGetFmtIdxFromAtomText("image/bmp"); … … 1756 1756 struct _CLIPREADX11CBREQ 1757 1757 { 1758 /** @todo r=andy Why all those different CLIPX11FORMAT members? Shouldn't be one enough? */1758 /** @todo r=andy Why all those different CLIPX11FORMATTARGET members? Shouldn't be one enough? */ 1759 1759 1760 1760 /** The format VBox would like the data in */ … … 2255 2255 2256 2256 /* Take a request for the targets we are currently offering. */ 2257 static CLIPX11FORMAT g_selTargets[10] = { 0 };2257 static CLIPX11FORMATTARGET g_selTargets[10] = { 0 }; 2258 2258 static size_t g_cTargets = 0; 2259 2259 … … 2270 2270 static int g_selFormat = 0; 2271 2271 2272 void testRequestData(CLIPBACKEND *pCtx, CLIPX11FORMAT target, void *closure)2272 void testRequestData(CLIPBACKEND *pCtx, CLIPX11FORMATTARGET target, void *closure) 2273 2273 { 2274 2274 RT_NOREF(pCtx); -
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-x11.cpp
r78581 r78582 507 507 } 508 508 509 voidClipAnnounceFormatToX11(CLIPBACKEND *pBackend, VBOXCLIPBOARDFORMATS vboxFormats)509 int ClipAnnounceFormatToX11(CLIPBACKEND *pBackend, VBOXCLIPBOARDFORMATS vboxFormats) 510 510 { 511 511 pBackend->formats = vboxFormats; 512 return VINF_SUCCESS; 512 513 } 513 514
Note:
See TracChangeset
for help on using the changeset viewer.