VirtualBox

Changeset 75279 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Nov 6, 2018 12:37:11 PM (6 years ago)
Author:
vboxsync
Message:

Capturing: Use uint32_t as internal screen settings screen ID.

Location:
trunk/src/VBox/Main/src-server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/CaptureScreenSettingsImpl.cpp

    r75277 r75279  
    4343    Machine * const                  pMachine;
    4444    ComObjPtr<CaptureScreenSettings> pPeer;
    45     unsigned long                    uScreenId;
     45    uint32_t                         uScreenId;
    4646
    4747    // use the XML settings structure in the members for simplicity
     
    7373 * @returns COM result indicator
    7474 */
    75 HRESULT CaptureScreenSettings::init(Machine *aParent, unsigned long uScreenId, const settings::CaptureScreenSettings &data)
     75HRESULT CaptureScreenSettings::init(Machine *aParent, uint32_t uScreenId, const settings::CaptureScreenSettings& data)
    7676{
    7777    LogFlowThisFuncEnter();
  • trunk/src/VBox/Main/src-server/CaptureSettingsImpl.cpp

    r75264 r75279  
    292292    HRESULT rc = S_OK;
    293293
     294    m->mapScreenSettings.clear();
     295
    294296    settings::CaptureScreenMap::const_iterator itScreen = data.mapScreens.begin();
    295297    while (itScreen != data.mapScreens.end())
     
    303305        if (FAILED(rc))
    304306            break;
     307
     308        m->mapScreenSettings[itScreen->first] = captureScreenSettings;
    305309
    306310        ++itScreen;
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