VirtualBox

Changeset 94648 in vbox


Ignore:
Timestamp:
Apr 20, 2022 10:20:19 AM (3 years ago)
Author:
vboxsync
Message:

Main/Update check: Big overhaul of the API and functionality [build fix]. bugref:7983

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

Legend:

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

    r94647 r94648  
    6868    /** @name Wrapped IUpdateAgent attributes and methods
    6969     * @{ */
    70     virtual HRESULT check(ComPtr<IProgress> &aProgress) = 0;
     70    virtual HRESULT check(ComPtr<IProgress> &aProgress);
    7171    virtual HRESULT download(ComPtr<IProgress> &aProgress);
    7272    virtual HRESULT install(ComPtr<IProgress> &aProgress);
     
    152152    /** @}  */
    153153
    154     virtual DECLCALLBACK(HRESULT) i_updateTask(UpdateAgentTask *pTask);
    155 
    156154private:
    157155    /** @name Implemented (pure) virtual methods from UpdateAgent.
    158156     * @{ */
    159     virtual HRESULT check(ComPtr<IProgress> &aProgress);
     157    virtual HRESULT check(ComPtr<IProgress> &aProgress) RT_OVERRIDE;
     158
     159    virtual DECLCALLBACK(HRESULT) i_updateTask(UpdateAgentTask *pTask) RT_OVERRIDE;
    160160    /** @}  */
    161161
    162     HRESULT i_updateAgentTask(UpdateAgentTask *pTask);
    163162    HRESULT i_checkForUpdate(void);
    164163    HRESULT i_checkForUpdateInner(RTHTTP hHttp, com::Utf8Str const &strUrl, com::Utf8Str const &strUserAgent);
  • trunk/src/VBox/Main/src-server/UpdateAgentImpl.cpp

    r94647 r94648  
    133133    if (autoUninitSpan.uninitDone())
    134134        return;
     135}
     136
     137HRESULT UpdateAgent::check(ComPtr<IProgress> &aProgress)
     138{
     139    RT_NOREF(aProgress);
     140
     141    return VBOX_E_NOT_SUPPORTED;
    135142}
    136143
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