- Timestamp:
- Aug 12, 2020 7:55:32 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 139876
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/HostUpdateImpl.h
r85728 r85729 39 39 40 40 private: 41 // wrapped IHostUpdate attributes and methods 41 /** @name wrapped IHostUpdate attributes and methods 42 * @ */ 42 43 HRESULT getUpdate(ComPtr<IHostUpdate> &aUpdate); 43 44 HRESULT updateCheck(UpdateCheckType_T aCheckType, ComPtr<IProgress> &aProgress); … … 46 47 HRESULT getUpdateURL(com::Utf8Str &aUpdateURL); 47 48 HRESULT getUpdateCheckNeeded(BOOL *aUpdateCheckNeeded); 49 /** @} */ 48 50 49 Utf8Str platformInfo(); 51 Utf8Str i_platformInfo(); 52 class UpdateCheckTask; 53 HRESULT i_updateCheckTask(UpdateCheckTask *pTask); 54 HRESULT i_checkForVBoxUpdate(); 50 55 56 /** @name Data members. 57 * @{ */ 51 58 VirtualBox * const mVirtualBox; 52 59 ComPtr<IHostUpdate> m_pHostUpdate; … … 54 61 Utf8Str m_updateVersion; 55 62 Utf8Str m_updateURL; 56 57 class UpdateCheckTask; 58 59 HRESULT i_updateCheckTask(UpdateCheckTask *pTask); 60 HRESULT i_checkForVBoxUpdate(); 63 /** @} */ 61 64 }; 62 65 -
trunk/src/VBox/Main/src-server/HostUpdateImpl.cpp
r85728 r85729 1 /* $Id :*/1 /* $Id$ */ 2 2 /** @file 3 3 * IHostUpdate COM class implementations. … … 79 79 }; 80 80 81 /* static */82 81 void HostUpdate::UpdateCheckTask::handler() 83 82 { … … 93 92 } 94 93 95 /* static */ 96 Utf8Str HostUpdate::platformInfo() 94 Utf8Str HostUpdate::i_platformInfo() 97 95 { 98 96 /* Prepare platform report: */ … … 258 256 } 259 257 260 /* static */261 258 HRESULT HostUpdate::i_checkForVBoxUpdate() 262 259 { … … 351 348 return setErrorVrc(rc, tr("%s: IVirtualBox::version() failed: %Rrc"), __FUNCTION__, rc); 352 349 353 Utf8StrFmt const strUserAgent("VirtualBox %ls <%s>", version.raw(), HostUpdate:: platformInfo().c_str());350 Utf8StrFmt const strUserAgent("VirtualBox %ls <%s>", version.raw(), HostUpdate::i_platformInfo().c_str()); 354 351 LogRelFunc(("userAgent = %s\n", strUserAgent.c_str())); 355 352 … … 419 416 } 420 417 421 /* static */422 418 HRESULT HostUpdate::i_updateCheckTask(UpdateCheckTask *pTask) 423 419 {
Note:
See TracChangeset
for help on using the changeset viewer.