VirtualBox

Changeset 78582 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 18, 2019 4:24:19 PM (6 years ago)
Author:
vboxsync
Message:

Shared Clipboard/URI: Build fix.

Location:
trunk/src/VBox
Files:
2 edited

Legend:

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

    r78581 r78582  
    8383    CLIPX11FORMATTARGET_UTF8,
    8484    CLIPX11FORMATTARGET_BMP,
    85     CLIPX11FORMATTARGET_HTML,
     85    CLIPX11FORMATTARGET_HTML
    8686#ifdef VBOX_WITH_SHARED_CLIPBOARD_URI_LIST
    87     CLIPX11FORMATTARGET_URI_LIST
     87    , CLIPX11FORMATTARGET_URI_LIST
    8888#endif
    8989} CLIPX11FORMATTARGET;
     
    177177#ifdef TESTCASE
    178178/** Lookup the X11 format matching a given X11 atom text.
    179  * @returns the format on success, NIL_CLIPX11FORMAT on failure
     179 * @returns the format on success, NIL_CLIPX11FORMATTARGET on failure
    180180 * @param   widget a valid Xt widget
    181181 */
     
    192192 * Enumerates supported X11 clipboard formats corresponding to a given VBox format.
    193193 *
    194  * @returns the next matching X11 format in the list, or NIL_CLIPX11FORMAT if
     194 * @returns the next matching X11 format in the list, or NIL_CLIPX11FORMATTARGET if
    195195 *          there are no more
    196196 * @param lastFmtIdx  The format index returned from the last call of this function.
     
    415415{
    416416    bool success = true;
    417     CLIPX11FORMAT targets[2];
    418     CLIPX11FORMAT x11Format;
     417    CLIPX11FORMATTARGET targets[2];
     418    CLIPX11FORMATTARGET x11Format;
    419419    targets[0] = clipGetFmtIdxFromAtomText("text/plain");
    420420    targets[1] = clipGetFmtIdxFromAtomText("image/bmp");
     
    17561756struct _CLIPREADX11CBREQ
    17571757{
    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? */
    17591759
    17601760    /** The format VBox would like the data in */
     
    22552255
    22562256/* Take a request for the targets we are currently offering. */
    2257 static CLIPX11FORMAT g_selTargets[10] = { 0 };
     2257static CLIPX11FORMATTARGET g_selTargets[10] = { 0 };
    22582258static size_t g_cTargets = 0;
    22592259
     
    22702270static int g_selFormat = 0;
    22712271
    2272 void testRequestData(CLIPBACKEND *pCtx, CLIPX11FORMAT target, void *closure)
     2272void testRequestData(CLIPBACKEND *pCtx, CLIPX11FORMATTARGET target, void *closure)
    22732273{
    22742274    RT_NOREF(pCtx);
  • trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-x11.cpp

    r78581 r78582  
    507507}
    508508
    509 void ClipAnnounceFormatToX11(CLIPBACKEND *pBackend, VBOXCLIPBOARDFORMATS vboxFormats)
     509int ClipAnnounceFormatToX11(CLIPBACKEND *pBackend, VBOXCLIPBOARDFORMATS vboxFormats)
    510510{
    511511    pBackend->formats = vboxFormats;
     512    return VINF_SUCCESS;
    512513}
    513514
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