VirtualBox

Changeset 84138 in vbox for trunk/src/VBox/HostServices


Ignore:
Timestamp:
May 4, 2020 4:14:42 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
137733
Message:

Shared Clipboard/HostService: Fixed X11 stub implementation (follow-up to r137499).

File:
1 edited

Legend:

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

    r83947 r84138  
    3939
    4040/** Initialise the host side of the shared clipboard - called by the hgcm layer. */
    41 int VBoxShClSvcImplInit(void)
     41int ShClSvcImplInit(void)
    4242{
    4343    LogFlowFunc(("called, returning VINF_SUCCESS\n"));
     
    4646
    4747/** Terminate the host side of the shared clipboard - called by the hgcm layer. */
    48 void VBoxShClSvcImplDestroy(void)
     48void ShClSvcImplDestroy(void)
    4949{
    5050    LogFlowFunc(("called, returning\n"));
     
    5858  * @param   fHeadless          Whether headless.
    5959  */
    60 int VBoxShClSvcImplConnect(PSHCLCLIENT pClient, bool fHeadless)
     60int ShClSvcImplConnect(PSHCLCLIENT pClient, bool fHeadless)
    6161{
    6262    RT_NOREF(pClient, fHeadless);
     
    6969 * after a save and restore of the guest.
    7070 */
    71 int SharedClipboardSvcImplSync(PSHCLCLIENT pClient)
     71int ShClSvcImplSync(PSHCLCLIENT pClient)
    7272{
    7373    RT_NOREF(pClient);
     
    8181 * @param   pClient         Structure containing context information about the guest system
    8282 */
    83 int SharedClipboardSvcImplDisconnect(PSHCLCLIENT pClient)
     83int ShClSvcImplDisconnect(PSHCLCLIENT pClient)
    8484{
    8585    RT_NOREF(pClient);
     
    9292 *
    9393 * @param pClient               Context data for the guest system.
    94  * @param pCmdCtx               Command context to use.
    9594 * @param fFormats              Clipboard formats the guest is offering.
    9695 */
    97 int SharedClipboardSvcImplFormatAnnounce(PSHCLCLIENT pClient, PSHCLCLIENTCMDCTX pCmdCtx,
    98                                          SHCLFORMATS fFormats)
     96int ShClSvcImplFormatAnnounce(PSHCLCLIENT pClient, SHCLFORMATS fFormats)
    9997{
    100     RT_NOREF(pClient, pCmdCtx, fFormats);
     98    RT_NOREF(pClient, fFormats);
    10199    return VINF_SUCCESS;
    102100}
     
    112110 * @param pcbActual     Where to store the actual amount of data available.
    113111 */
    114 int SharedClipboardSvcImplReadData(PSHCLCLIENT pClient, PSHCLCLIENTCMDCTX pCmdCtx,
    115                                    SHCLFORMAT uFormat, void *pvData, uint32_t cbData, uint32_t *pcbActual)
     112int ShClSvcImplReadData(PSHCLCLIENT pClient, PSHCLCLIENTCMDCTX pCmdCtx,
     113                        SHCLFORMAT uFormat, void *pvData, uint32_t cbData, uint32_t *pcbActual)
    116114{
    117115    RT_NOREF(pClient, pCmdCtx, uFormat, pvData, cbData);
     
    123121}
    124122
    125 int SharedClipboardSvcImplWriteData(PSHCLCLIENT pClient, PSHCLCLIENTCMDCTX pCmdCtx,
    126                                     SHCLFORMAT uFormat, void *pvData, uint32_t cbData)
     123int ShClSvcImplWriteData(PSHCLCLIENT pClient, PSHCLCLIENTCMDCTX pCmdCtx,
     124                         SHCLFORMAT uFormat, void *pvData, uint32_t cbData)
    127125{
    128126    RT_NOREF(pClient, pCmdCtx, uFormat, pvData, cbData);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette