VirtualBox

Ignore:
Timestamp:
Feb 3, 2021 1:48:48 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
142593
Message:

Shared Clipboard: doxygen fixes for unnecessary @copydoc in definitions and duplicate @param docs. (probably bugref:9437)

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-internal.h

    r87452 r87566  
    308308 */
    309309int ShClBackendInit(void);
     310
    310311/**
    311312 * Called on destruction.
    312313 */
    313314void ShClBackendDestroy(void);
     315
    314316/**
    315317 * Called when a new HGCM client connects.
     
    320322 */
    321323int ShClBackendConnect(PSHCLCLIENT pClient, bool fHeadless);
     324
    322325/**
    323326 * Called when a HGCM client disconnects.
     
    327330 */
    328331int ShClBackendDisconnect(PSHCLCLIENT pClient);
     332
    329333/**
    330334 * Called when the guest reported available clipboard formats to the host OS.
     
    336340 */
    337341int ShClBackendFormatAnnounce(PSHCLCLIENT pClient, SHCLFORMATS fFormats);
    338 /** @todo Document: Can return VINF_HGCM_ASYNC_EXECUTE to defer returning read data.*/
     342
    339343/**
    340344 * Called when the guest wants to read host clipboard data.
     
    347351 * @param   cbData              Size (in bytes) of buffer where to return the clipboard data.
    348352 * @param   pcbActual           Where to return the amount of bytes read.
    349  */
    350 int ShClBackendReadData(PSHCLCLIENT pClient, PSHCLCLIENTCMDCTX pCmdCtx, SHCLFORMAT uFormat, void *pvData, uint32_t cbData, uint32_t *pcbActual);
     353 *
     354 * @todo    Document: Can return VINF_HGCM_ASYNC_EXECUTE to defer returning read
     355 *          data
     356 */
     357int ShClBackendReadData(PSHCLCLIENT pClient, PSHCLCLIENTCMDCTX pCmdCtx, SHCLFORMAT uFormat,
     358                        void *pvData, uint32_t cbData, uint32_t *pcbActual);
     359
    351360/**
    352361 * Called when the guest writes clipboard data to the host.
     
    360369 */
    361370int ShClBackendWriteData(PSHCLCLIENT pClient, PSHCLCLIENTCMDCTX pCmdCtx, SHCLFORMAT uFormat, void *pvData, uint32_t cbData);
     371
    362372/**
    363373 * Called when synchronization of the clipboard contents of the host clipboard with the guest is needed.
  • trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-x11-stubs.cpp

    r84142 r87566  
    3838
    3939
    40 /** Initialise the host side of the shared clipboard - called by the hgcm layer. */
     40/*
     41 * Initialise the host side of the shared clipboard - called by the hgcm layer.
     42 */
    4143int ShClBackendInit(void)
    4244{
     
    4547}
    4648
    47 /** Terminate the host side of the shared clipboard - called by the hgcm layer. */
     49/*
     50 * Terminate the host side of the shared clipboard - called by the hgcm layer.
     51 */
    4852void ShClBackendDestroy(void)
    4953{
     
    5155}
    5256
    53 /**
    54   * Enable the shared clipboard - called by the hgcm clipboard subsystem.
    55   *
    56   * @returns RT status code
    57   * @param   pClient            Structure containing context information about the guest system
    58   * @param   fHeadless          Whether headless.
    59   */
    6057int ShClBackendConnect(PSHCLCLIENT pClient, bool fHeadless)
    6158{
     
    6562}
    6663
    67 /**
     64/*
    6865 * Synchronise the contents of the host clipboard with the guest, called by the HGCM layer
    6966 * after a save and restore of the guest.
     
    7673}
    7774
    78 /**
    79  * Shut down the shared clipboard subsystem and "disconnect" the guest.
    80  *
    81  * @param   pClient         Structure containing context information about the guest system
    82  */
    8375int ShClBackendDisconnect(PSHCLCLIENT pClient)
    8476{
     
    8779}
    8880
    89 /**
    90  * The guest is taking possession of the shared clipboard.  Called by the HGCM clipboard
    91  * subsystem.
    92  *
    93  * @param pClient               Context data for the guest system.
    94  * @param fFormats              Clipboard formats the guest is offering.
     81/*
     82 * The guest is taking possession of the shared clipboard.
     83 * Called by the HGCM clipboard subsystem.
    9584 */
    9685int ShClBackendFormatAnnounce(PSHCLCLIENT pClient, SHCLFORMATS fFormats)
     
    10089}
    10190
    102 /**
     91/*
    10392 * Called by the HGCM clipboard subsystem when the guest wants to read the host clipboard.
    104  *
    105  * @param pClient       Context information about the guest VM
    106  * @param pCmdCtx       Command context to use.
    107  * @param uFormat       Clipboard format to read.
    108  * @param pvData        Where to return the read clipboard data.
    109  * @param cbData        Size (in bytes) of buffer where to return the clipboard data.
    110  * @param pcbActual     Where to store the actual amount of data available.
    11193 */
    11294int ShClBackendReadData(PSHCLCLIENT pClient, PSHCLCLIENTCMDCTX pCmdCtx,
  • trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-x11.cpp

    r87452 r87566  
    116116}
    117117
    118 /**
     118/*
    119119 * Shut down the shared clipboard service and "disconnect" the guest.
    120  * @note  Host glue code
     120 * Note!  Host glue code
    121121 */
    122122int ShClBackendDisconnect(PSHCLCLIENT pClient)
     
    173173 *         the backend code.
    174174 */
    175 int ShClBackendReadData(PSHCLCLIENT pClient,
    176                         PSHCLCLIENTCMDCTX pCmdCtx, SHCLFORMAT uFormat, void *pvData, uint32_t cbData, uint32_t *pcbActual)
     175int ShClBackendReadData(PSHCLCLIENT pClient, PSHCLCLIENTCMDCTX pCmdCtx, SHCLFORMAT uFormat,
     176                        void *pvData, uint32_t cbData, uint32_t *pcbActual)
    177177{
    178178    AssertPtrReturn(pClient,   VERR_INVALID_POINTER);
     
    237237}
    238238
    239 int ShClBackendWriteData(PSHCLCLIENT pClient,
    240                          PSHCLCLIENTCMDCTX pCmdCtx, SHCLFORMAT uFormat, void *pvData, uint32_t cbData)
     239int ShClBackendWriteData(PSHCLCLIENT pClient, PSHCLCLIENTCMDCTX pCmdCtx, SHCLFORMAT uFormat, void *pvData, uint32_t cbData)
    241240{
    242241    RT_NOREF(pClient, pCmdCtx, uFormat, pvData, cbData);
     
    250249}
    251250
    252 /** @copydoc ShClX11ReportFormatsCallback */
    253251DECLCALLBACK(void) ShClX11ReportFormatsCallback(PSHCLCONTEXT pCtx, uint32_t fFormats)
    254252{
     
    272270}
    273271
    274 /** @copydoc ShClX11RequestFromX11CompleteCallback */
    275272DECLCALLBACK(void) ShClX11RequestFromX11CompleteCallback(PSHCLCONTEXT pCtx, int rcCompletion,
    276273                                                         CLIPREADCBREQ *pReq, void *pv, uint32_t cb)
     
    309306}
    310307
    311 /** @copydoc ShClX11RequestDataForX11Callback */
    312308DECLCALLBACK(int) ShClX11RequestDataForX11Callback(PSHCLCONTEXT pCtx, SHCLFORMAT uFmt, void **ppv, uint32_t *pcb)
    313309{
  • trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc.cpp

    r87452 r87566  
    16951695        rc = ShClBackendReadData(pClient, &cmdCtx, uFormat, pvData, cbData, &cbActual);
    16961696        if (RT_SUCCESS(rc))
    1697         {
    16981697            LogRel2(("Shared Clipboard: Read host clipboard data (max %RU32 bytes), got %RU32 bytes\n", cbData, cbActual));
    1699         }
    17001698        else
    17011699            LogRel(("Shared Clipboard: Reading host clipboard data failed with %Rrc\n", rc));
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