VirtualBox

Changeset 77910 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Mar 27, 2019 11:33:01 AM (6 years ago)
Author:
vboxsync
Message:

Main: bugref:7929: Added ability to change the priority of the VM process

Location:
trunk/src/VBox/Main/include
Files:
3 edited

Legend:

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

    r76562 r77910  
    208208                                IProgress *aProgress);
    209209    HRESULT i_reconfigureMediumAttachments(const std::vector<ComPtr<IMediumAttachment> > &aAttachments);
     210    HRESULT i_onVMProcessPriorityChange(VMProcPriority_T priority);
    210211    int i_hgcmLoadService(const char *pszServiceLibrary, const char *pszServiceName);
    211212    VMMDev *i_getVMMDev() { return m_pVMMDev; }
  • trunk/src/VBox/Main/include/MachineImpl.h

    r77436 r77910  
    524524    virtual HRESULT i_onMediumChange(IMediumAttachment * /* mediumAttachment */, BOOL /* force */) { return S_OK; }
    525525    virtual HRESULT i_onSharedFolderChange() { return S_OK; }
     526    virtual HRESULT i_onVMProcessPriorityChange(VMProcPriority_T /* aPriority */) { return S_OK; }
    526527    virtual HRESULT i_onClipboardModeChange(ClipboardMode_T /* aClipboardMode */) { return S_OK; }
    527528    virtual HRESULT i_onDnDModeChange(DnDMode_T /* aDnDMode */) { return S_OK; }
     
    970971    HRESULT setDefaultFrontend(const com::Utf8Str &aDefaultFrontend);
    971972    HRESULT getUSBProxyAvailable(BOOL *aUSBProxyAvailable);
    972     HRESULT getVMProcessPriority(com::Utf8Str &aVMProcessPriority);
    973     HRESULT setVMProcessPriority(const com::Utf8Str &aVMProcessPriority);
     973    HRESULT getVMProcessPriority(VMProcPriority_T *aVMProcessPriority);
     974    HRESULT setVMProcessPriority(VMProcPriority_T aVMProcessPriority);
    974975
    975976    // wrapped IMachine methods
     
    13271328    HRESULT i_onStorageControllerChange();
    13281329    HRESULT i_onMediumChange(IMediumAttachment *aMediumAttachment, BOOL aForce);
     1330    HRESULT i_onVMProcessPriorityChange(VMProcPriority_T aPriority);
    13291331    HRESULT i_onAudioAdapterChange(IAudioAdapter *audioAdapter);
    13301332    HRESULT i_onSerialPortChange(ISerialPort *serialPort);
  • trunk/src/VBox/Main/include/SessionImpl.h

    r76562 r77910  
    9999                                  BOOL aRemove,
    100100                                  BOOL aSilent);
     101    HRESULT onVMProcessPriorityChange(VMProcPriority_T priority);
    101102    HRESULT onClipboardModeChange(ClipboardMode_T aClipboardMode);
    102103    HRESULT onDnDModeChange(DnDMode_T aDndMode);
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