VirtualBox

Changeset 101883 in vbox


Ignore:
Timestamp:
Nov 6, 2023 5:37:54 PM (15 months ago)
Author:
vboxsync
Message:

Additions: X11/Wayland: Fix warnings related to documantation generation, bugref:10194.

Location:
trunk/src/VBox/Additions/x11/VBoxClient
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/wayland-helper-dcp.cpp

    r101878 r101883  
    352352 * @returns IPRT status code.
    353353 * @param   fd                  A file descriptor to write data to.
    354  * @param   ppvBuf              Data buffer.
    355  * @param   pcbBuf              Size of data buffer.
     354 * @param   pvBuf               Data buffer.
     355 * @param   cbBuf               Size of data buffer.
    356356 */
    357357RTDECL(int) vbcl_wayland_hlp_dcp_write_wl_fd(int fd, void *pvBuf, size_t cbBuf)
     
    455455 * Release session resources.
    456456 *
    457  * @returns IPRT status code.
    458457 * @param   pSession        Session data.
    459458 */
     
    482481 * Initialize session.
    483482 *
    484  * @returns IPRT status code.
    485483 * @param   pSession        Session data.
    486484 */
     
    498496 * Reset previously initialized session.
    499497 *
    500  * @returns IPRT status code.
    501498 * @param   pSession        Session data.
    502499 */
     
    505502    vbcl_wayland_hlp_dcp_session_release(pSession);
    506503    vbcl_wayland_hlp_dcp_session_init(pSession);
    507 #if 0
    508     void *pvData;
    509 
    510     if (!RTListIsEmpty(&pSession->clip.mimeTypesList.Node))
    511     {
    512         vbox_wl_dcp_mime_t *pEntry, *pNextEntry;
    513 
    514         RTListForEachSafe(&pSession->clip.mimeTypesList.Node, pEntry, pNextEntry, vbox_wl_dcp_mime_t, Node)
    515         {
    516             RTListNodeRemove(&pEntry->Node);
    517             RTStrFree(pEntry->pszMimeType);
    518             RTMemFree(pEntry);
    519         }
    520     }
    521 
    522     pvData = (void *)pSession->clip.pvClipboardBuf.reset();
    523     if (RT_VALID_PTR(pvData))
    524         RTMemFree(pvData);
    525 
    526 
    527     RTListInit(&pSession->clip.mimeTypesList.Node);
    528 
    529     pSession->clip.fFmts.init(VBOX_SHCL_FMT_NONE, VBCL_WAYLAND_VALUE_WAIT_TIMEOUT_MS);
    530     pSession->clip.uFmt.init(VBOX_SHCL_FMT_NONE, VBCL_WAYLAND_VALUE_WAIT_TIMEOUT_MS);
    531     pSession->clip.pvClipboardBuf.init(0, VBCL_WAYLAND_DATA_WAIT_TIMEOUT_MS);
    532     pSession->clip.cbClipboardBuf.init(0, VBCL_WAYLAND_DATA_WAIT_TIMEOUT_MS);
    533 #endif
    534504}
    535505
     
    771741 * @param   pCtx            DCP context data.
    772742 * @param   pOffer          Data offer object.
     743 * @param   uFmt            Clipboard format in VBox representation.
    773744 * @param   pszMimeType     Requested mime-type in string representation.
    774745 */
     
    976947 */
    977948static void vbcl_wayland_hlp_dcp_data_device_finished(
    978     void *data, struct zwlr_data_control_device_v1 *pDevice)
    979 {
    980     RT_NOREF(data);
     949    void *pvUser, struct zwlr_data_control_device_v1 *pDevice)
     950{
     951    RT_NOREF(pvUser);
    981952
    982953    VBCL_LOG_CALLBACK;
     
    1025996 *
    1026997 * @param pvUser            VBox private data.
    1027  * @param pSourceSource     Wayland Data Control Source object.
     998 * @param pDataSource,      Wayland Data Control Source object.
    1028999 * @param sMimeType         A mime-type of requested data.
    10291000 * @param fd                A file descriptor to write clipboard content into.
  • trunk/src/VBox/Additions/x11/VBoxClient/wayland-helper-gtk.cpp

    r101878 r101883  
    6666/**
    6767 * A set of objects required to handle clipboard sharing over
    68  * and drag-n-drop using Gtk library.. */
     68 * and drag-n-drop using Gtk library. */
    6969typedef struct
    7070{
  • trunk/src/VBox/Additions/x11/VBoxClient/wayland-helper-ipc.h

    r101881 r101883  
    294294                     *
    295295                     * @returns IPRT status code.
    296                      * @param   uSessionId  IPC session ID.
    297                      * @param   uSessionId  IPC connection handle.
     296                     * @param   uSessionId      IPC session ID.
     297                     * @param   hIpcSession     IPC connection handle.
    298298                     */
    299299                    int send_formats(uint32_t uSessionId, RTLOCALIPCSESSION hIpcSession);
     
    303303                     *
    304304                     * @returns IPRT status code.
    305                      * @param   uSessionId  IPC session ID.
    306                      * @param   uSessionId  IPC connection handle.
     305                     * @param   uSessionId      IPC session ID.
     306                     * @param   hIpcSession     IPC connection handle.
    307307                     */
    308308                    int recv_formats(uint32_t uSessionId, RTLOCALIPCSESSION hIpcSession);
     
    312312                     *
    313313                     * @returns IPRT status code.
    314                      * @param   uSessionId  IPC session ID.
    315                      * @param   uSessionId  IPC connection handle.
     314                     * @param   uSessionId      IPC session ID.
     315                     * @param   hIpcSession     IPC connection handle.
    316316                     */
    317317                    int send_format(uint32_t uSessionId, RTLOCALIPCSESSION hIpcSession);
    318318
    319 
    320319                    /**
    321320                     * Receive requested clipboard format over IPC.
    322321                     *
    323322                     * @returns IPRT status code.
    324                      * @param   uSessionId  IPC session ID.
    325                      * @param   uSessionId  IPC connection handle.
     323                     * @param   uSessionId      IPC session ID.
     324                     * @param   hIpcSession     IPC connection handle.
    326325                     */
    327326                    int recv_format(uint32_t uSessionId, RTLOCALIPCSESSION hIpcSession);
     
    331330                     *
    332331                     * @returns IPRT status code.
    333                      * @param   uSessionId  IPC session ID.
    334                      * @param   uSessionId  IPC connection handle.
     332                     * @param   uSessionId      IPC session ID.
     333                     * @param   hIpcSession     IPC connection handle.
    335334                     */
    336335                    int send_data(uint32_t uSessionId, RTLOCALIPCSESSION hIpcSession);
     
    340339                     *
    341340                     * @returns IPRT status code.
    342                      * @param   uSessionId  IPC session ID.
    343                      * @param   uSessionId  IPC connection handle.
     341                     * @param   uSessionId      IPC session ID.
     342                     * @param   hIpcSession     IPC connection handle.
    344343                     */
    345344                    int recv_data(uint32_t uSessionId, RTLOCALIPCSESSION hIpcSession);
     
    414413 * This function should be used by both IPC server and client code
    415414 * in order to connect one to another. Output string will be in
    416  * format: GtkHlpIpcServer-<active tty>-<user name>.
     415 * format: GtkHlpIpcServer-&lt;active tty&gt;-&lt;user name&gt;.
    417416 *
    418417 * @returns     IPRT status code.
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