VirtualBox

Ignore:
Timestamp:
Sep 17, 2019 3:40:00 PM (5 years ago)
Author:
vboxsync
Message:

Shared Clipboard/Transfers: Yet more renaming.

File:
1 edited

Legend:

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

    r80862 r80866  
    5858*********************************************************************************************************************************/
    5959
    60 DECLCALLBACK(int) sharedClipboardSvcTransferTransferOpen(PSHCLPROVIDERCTX pCtx)
     60DECLCALLBACK(int) sharedClipboardSvcTransferOpen(PSHCLPROVIDERCTX pCtx)
    6161{
    6262    RT_NOREF(pCtx);
     
    6666}
    6767
    68 DECLCALLBACK(int) sharedClipboardSvcTransferTransferClose(PSHCLPROVIDERCTX pCtx)
     68DECLCALLBACK(int) sharedClipboardSvcTransferClose(PSHCLPROVIDERCTX pCtx)
    6969{
    7070    RT_NOREF(pCtx);
     
    11621162 * @param   paParms             Array function parameters supplied.
    11631163 */
    1164 static int sharedClipboardSvcTransferTransferHandleReply(PSHCLCLIENT pClient, PSHCLTRANSFER pTransfer,
    1165                                                          uint32_t cParms, VBOXHGCMSVCPARM paParms[])
     1164static int sharedClipboardSvcTransferHandleReply(PSHCLCLIENT pClient, PSHCLTRANSFER pTransfer,
     1165                                                 uint32_t cParms, VBOXHGCMSVCPARM paParms[])
    11661166{
    11671167    RT_NOREF(pClient);
     
    13661366                        creationCtx.enmSource = pClient->State.enmSource;
    13671367
    1368                         creationCtx.Interface.pfnTransferOpen  = sharedClipboardSvcTransferTransferOpen;
    1369                         creationCtx.Interface.pfnTransferClose = sharedClipboardSvcTransferTransferClose;
     1368                        creationCtx.Interface.pfnTransferOpen  = sharedClipboardSvcTransferOpen;
     1369                        creationCtx.Interface.pfnTransferClose = sharedClipboardSvcTransferClose;
    13701370                        creationCtx.Interface.pfnListOpen      = sharedClipboardSvcTransferListOpen;
    13711371                        creationCtx.Interface.pfnListClose     = sharedClipboardSvcTransferListClose;
     
    14311431        case VBOX_SHCL_GUEST_FN_REPLY:
    14321432        {
    1433             rc = sharedClipboardSvcTransferTransferHandleReply(pClient, pTransfer, cParms, paParms);
     1433            rc = sharedClipboardSvcTransferHandleReply(pClient, pTransfer, cParms, paParms);
    14341434
    14351435            /* This message does not need any completion, as it can happen at any time from the guest side. */
     
    20992099 * @param   puEvent             Where to store the created wait event. Optional.
    21002100 */
    2101 int sharedClipboardSvcTransferTransferSendStatus(PSHCLCLIENT pClient, PSHCLTRANSFER pTransfer, SHCLTRANSFERSTATUS uStatus,
    2102                                                  int rcTransfer, PSHCLEVENTID puEvent)
     2101int sharedClipboardSvcTransferSendStatus(PSHCLCLIENT pClient, PSHCLTRANSFER pTransfer, SHCLTRANSFERSTATUS uStatus,
     2102                                         int rcTransfer, PSHCLEVENTID puEvent)
    21032103{
    21042104    AssertPtrReturn(pClient,   VERR_INVALID_POINTER);
     
    21532153 * @param   ppTransfer          Where to return the created transfer on success. Optional.
    21542154 */
    2155 int sharedClipboardSvcTransferTransferStart(PSHCLCLIENT pClient,
    2156                                             SHCLTRANSFERDIR enmDir, SHCLSOURCE enmSource,
    2157                                             PSHCLTRANSFER *ppTransfer)
     2155int sharedClipboardSvcTransferStart(PSHCLCLIENT pClient,
     2156                                    SHCLTRANSFERDIR enmDir, SHCLSOURCE enmSource,
     2157                                    PSHCLTRANSFER *ppTransfer)
    21582158{
    21592159    AssertPtrReturn(pClient, VERR_INVALID_POINTER);
     
    21822182                if (RT_SUCCESS(rc))
    21832183                {
    2184                     creationCtx.Interface.pfnTransferOpen    = sharedClipboardSvcTransferTransferOpen;
    2185                     creationCtx.Interface.pfnTransferClose   = sharedClipboardSvcTransferTransferClose;
     2184                    creationCtx.Interface.pfnTransferOpen    = sharedClipboardSvcTransferOpen;
     2185                    creationCtx.Interface.pfnTransferClose   = sharedClipboardSvcTransferClose;
    21862186                    creationCtx.Interface.pfnListOpen        = sharedClipboardSvcTransferListOpen;
    21872187                    creationCtx.Interface.pfnListClose       = sharedClipboardSvcTransferListClose;
     
    22352235                        {
    22362236                            SHCLEVENTID uEvent;
    2237                             rc = sharedClipboardSvcTransferTransferSendStatus(pClient, pTransfer,
    2238                                                                               SHCLTRANSFERSTATUS_READY, VINF_SUCCESS,
    2239                                                                               &uEvent);
     2237                            rc = sharedClipboardSvcTransferSendStatus(pClient, pTransfer,
     2238                                                                      SHCLTRANSFERSTATUS_READY, VINF_SUCCESS,
     2239                                                                      &uEvent);
    22402240                            if (RT_SUCCESS(rc))
    22412241                            {
     
    23042304 * @param   pTransfer           Transfer to stop.
    23052305 */
    2306 int sharedClipboardSvcTransferTransferStop(PSHCLCLIENT pClient, PSHCLTRANSFER pTransfer)
     2306int sharedClipboardSvcTransferStop(PSHCLCLIENT pClient, PSHCLTRANSFER pTransfer)
    23072307{
    23082308    int rc = SharedClipboardTransferClose(pTransfer);
     
    23102310    {
    23112311        SHCLEVENTID uEvent;
    2312         rc = sharedClipboardSvcTransferTransferSendStatus(pClient, pTransfer,
    2313                                                           SHCLTRANSFERSTATUS_STOPPED, VINF_SUCCESS,
    2314                                                           &uEvent);
     2312        rc = sharedClipboardSvcTransferSendStatus(pClient, pTransfer,
     2313                                                  SHCLTRANSFERSTATUS_STOPPED, VINF_SUCCESS,
     2314                                                  &uEvent);
    23152315        if (RT_SUCCESS(rc))
    23162316        {
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