VirtualBox

Ignore:
Timestamp:
Apr 10, 2019 3:11:29 PM (6 years ago)
Author:
vboxsync
Message:

DnD/Main: Renamed GuestDnDInst() macro -> GUESTDNDINST().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestDnDTargetImpl.cpp

    r78084 r78093  
    307307
    308308    /* Adjust the coordinates in a multi-monitor setup. */
    309     int rc = GuestDnDInst()->adjustScreenCoordinates(aScreenId, &aX, &aY);
     309    int rc = GUESTDNDINST()->adjustScreenCoordinates(aScreenId, &aX, &aY);
    310310    if (RT_SUCCESS(rc))
    311311    {
     
    322322        Msg.setNextUInt32(cbFormats);
    323323
    324         rc = GuestDnDInst()->hostCall(Msg.getType(), Msg.getCount(), Msg.getParms());
     324        rc = GUESTDNDINST()->hostCall(Msg.getType(), Msg.getCount(), Msg.getParms());
    325325        if (RT_SUCCESS(rc))
    326326        {
    327             GuestDnDResponse *pResp = GuestDnDInst()->response();
     327            GuestDnDResponse *pResp = GUESTDNDINST()->response();
    328328            if (pResp && RT_SUCCESS(pResp->waitForGuestResponse()))
    329329                resAction = GuestDnD::toMainAction(pResp->getActionDefault());
     
    385385    HRESULT hr = S_OK;
    386386
    387     int rc = GuestDnDInst()->adjustScreenCoordinates(aScreenId, &aX, &aY);
     387    int rc = GUESTDNDINST()->adjustScreenCoordinates(aScreenId, &aX, &aY);
    388388    if (RT_SUCCESS(rc))
    389389    {
     
    400400        Msg.setNextUInt32(cbFormats);
    401401
    402         rc = GuestDnDInst()->hostCall(Msg.getType(), Msg.getCount(), Msg.getParms());
     402        rc = GUESTDNDINST()->hostCall(Msg.getType(), Msg.getCount(), Msg.getParms());
    403403        if (RT_SUCCESS(rc))
    404404        {
    405             GuestDnDResponse *pResp = GuestDnDInst()->response();
     405            GuestDnDResponse *pResp = GUESTDNDINST()->response();
    406406            if (pResp && RT_SUCCESS(pResp->waitForGuestResponse()))
    407407                resAction = GuestDnD::toMainAction(pResp->getActionDefault());
     
    440440        Msg.setNextUInt32(0); /** @todo ContextID not used yet. */
    441441
    442     int rc = GuestDnDInst()->hostCall(Msg.getType(), Msg.getCount(), Msg.getParms());
     442    int rc = GUESTDNDINST()->hostCall(Msg.getType(), Msg.getCount(), Msg.getParms());
    443443    if (RT_SUCCESS(rc))
    444444    {
    445         GuestDnDResponse *pResp = GuestDnDInst()->response();
     445        GuestDnDResponse *pResp = GUESTDNDINST()->response();
    446446        if (pResp)
    447447            pResp->waitForGuestResponse();
     
    507507
    508508    /* Adjust the coordinates in a multi-monitor setup. */
    509     HRESULT hr = GuestDnDInst()->adjustScreenCoordinates(aScreenId, &aX, &aY);
     509    HRESULT hr = GUESTDNDINST()->adjustScreenCoordinates(aScreenId, &aX, &aY);
    510510    if (SUCCEEDED(hr))
    511511    {
     
    522522        Msg.setNextUInt32(cbFormats);
    523523
    524         int vrc = GuestDnDInst()->hostCall(Msg.getType(), Msg.getCount(), Msg.getParms());
     524        int vrc = GUESTDNDINST()->hostCall(Msg.getType(), Msg.getCount(), Msg.getParms());
    525525        if (RT_SUCCESS(vrc))
    526526        {
    527             GuestDnDResponse *pResp = GuestDnDInst()->response();
     527            GuestDnDResponse *pResp = GUESTDNDINST()->response();
    528528            AssertPtr(pResp);
    529529
     
    625625
    626626    /* Ditto. */
    627     GuestDnDResponse *pResp = GuestDnDInst()->response();
     627    GuestDnDResponse *pResp = GUESTDNDINST()->response();
    628628    AssertPtr(pResp);
    629629
     
    838838    }
    839839
    840     int rc = GuestDnDInst()->hostCall(Msg.getType(), Msg.getCount(), Msg.getParms());
     840    int rc = GUESTDNDINST()->hostCall(Msg.getType(), Msg.getCount(), Msg.getParms());
    841841    if (RT_SUCCESS(rc))
    842842        rc = updateProgress(pData, pCtx->mpResp, pData->getMeta().getSize());
     
    869869    Msg.setNextUInt32(0);                                                /** @todo cbChecksum; not used yet. */
    870870
    871     int rc = GuestDnDInst()->hostCall(Msg.getType(), Msg.getCount(), Msg.getParms());
     871    int rc = GUESTDNDINST()->hostCall(Msg.getType(), Msg.getCount(), Msg.getParms());
    872872
    873873    LogFlowFuncLeaveRC(rc);
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