VirtualBox

Changeset 85730 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 12, 2020 7:57:59 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139877
Message:

Main/HostUpdateImpl.cpp: Removed the getUpdate() method as it is not part of IHostUpdate (it belongs in the parent class). Also removed the associated m_pHostUpdate data member. bugref:7983

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

Legend:

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

    r85729 r85730  
    4141    /** @name wrapped IHostUpdate attributes and methods
    4242     * @ */
    43     HRESULT getUpdate(ComPtr<IHostUpdate> &aUpdate);
    44     HRESULT updateCheck(UpdateCheckType_T aCheckType, ComPtr<IProgress> &aProgress);
    45     HRESULT getUpdateResponse(BOOL *aUpdateNeeded);
    46     HRESULT getUpdateVersion(com::Utf8Str &aUpdateVersion);
    47     HRESULT getUpdateURL(com::Utf8Str &aUpdateURL);
    48     HRESULT getUpdateCheckNeeded(BOOL *aUpdateCheckNeeded);
     43    HRESULT updateCheck(UpdateCheckType_T aCheckType, ComPtr<IProgress> &aProgress) RT_OVERRIDE;
     44    HRESULT getUpdateResponse(BOOL *aUpdateNeeded) RT_OVERRIDE;
     45    HRESULT getUpdateVersion(com::Utf8Str &aUpdateVersion) RT_OVERRIDE;
     46    HRESULT getUpdateURL(com::Utf8Str &aUpdateURL) RT_OVERRIDE;
     47    HRESULT getUpdateCheckNeeded(BOOL *aUpdateCheckNeeded) RT_OVERRIDE;
    4948    /** @} */
    5049
     
    5756     * @{  */
    5857    VirtualBox * const mVirtualBox;
    59     ComPtr<IHostUpdate> m_pHostUpdate;
    60     BOOL m_updateNeeded;
     58    BOOL     m_updateNeeded;
    6159    Utf8Str  m_updateVersion;
    6260    Utf8Str  m_updateURL;
  • trunk/src/VBox/Main/src-server/HostUpdateImpl.cpp

    r85729 r85730  
    492492}
    493493
    494 HRESULT HostUpdate::getUpdate(ComPtr<IHostUpdate> &aUpdate)
    495 {
    496     AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS);
    497     aUpdate = m_pHostUpdate;
    498     return S_OK;
    499 }
    500 
    501494HRESULT HostUpdate::updateCheck(UpdateCheckType_T aCheckType,
    502495                                ComPtr<IProgress> &aProgress)
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