VirtualBox

Ignore:
Timestamp:
Jul 11, 2024 7:49:37 AM (10 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
163915
Message:

Recording: Implemented support for a dedicated progress object, which is exposed to API clients. This can be used for better tracking the recording progress as well as for error reporting. The RecordingSettings API also now has a dedicated start() method to start recording, as well as support for attaching to an already ongoing recording by retrieving the progress object at a later time. Adapted FE/Qt (draft, see @todos), FE/VBoxManage and the Validation Kit testdriver to the new APIs. VBoxManage also can attach to an ongoing recording now. The recording progress object also will have multiple operations to get the recording progress for convenience. bugref:10718

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/MachineImpl.h

    r105087 r105266  
    554554    virtual HRESULT i_onParallelPortChange(IParallelPort * /* parallelPort */) { return S_OK; }
    555555    virtual HRESULT i_onVRDEServerChange(BOOL /* aRestart */) { return S_OK; }
     556    virtual HRESULT i_onRecordingStateChange(BOOL /* aEnable */, IProgress **) { return S_OK; }
     557    virtual HRESULT i_onRecordingScreenStateChange(BOOL /* aEnable */, ULONG /* aScreen */) { return S_OK; }
    556558    virtual HRESULT i_onUSBControllerChange() { return S_OK; }
    557559    virtual HRESULT i_onStorageControllerChange(const com::Guid & /* aMachineId */, const com::Utf8Str & /* aControllerName */) { return S_OK; }
     
    567569    virtual HRESULT i_onStorageDeviceChange(IMediumAttachment * /* mediumAttachment */, BOOL /* remove */,
    568570                                            BOOL /* silent */) { return S_OK; }
    569     virtual HRESULT i_onRecordingChange(BOOL /* aEnable */) { return S_OK; }
    570571    virtual HRESULT i_onGuestDebugControlChange(IGuestDebugControl * /* guestDebugControl */) { return S_OK; }
    571572
     
    13931394    HRESULT i_onCPUChange(ULONG aCPU, BOOL aRemove) RT_OVERRIDE;
    13941395    HRESULT i_onVRDEServerChange(BOOL aRestart) RT_OVERRIDE;
    1395     HRESULT i_onRecordingChange(BOOL aEnable) RT_OVERRIDE;
     1396    HRESULT i_onRecordingStateChange(BOOL aEnable, IProgress **aProgress) RT_OVERRIDE;
     1397    HRESULT i_onRecordingScreenStateChange(BOOL aEnable, ULONG aScreen) RT_OVERRIDE;
    13961398    HRESULT i_onUSBControllerChange() RT_OVERRIDE;
    13971399    HRESULT i_onUSBDeviceAttach(IUSBDevice *aDevice,
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