VirtualBox

Changeset 85729 in vbox for trunk/src


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

Main/HostUpdateImpl.cpp: Remove a bunch of misleading /*static*/ comments. Rename platformInfo to i_platformInfo to avoid confusion with interface methods. bugref:7983

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

Legend:

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

    r85728 r85729  
    3939
    4040private:
    41     // wrapped IHostUpdate attributes and methods
     41    /** @name wrapped IHostUpdate attributes and methods
     42     * @ */
    4243    HRESULT getUpdate(ComPtr<IHostUpdate> &aUpdate);
    4344    HRESULT updateCheck(UpdateCheckType_T aCheckType, ComPtr<IProgress> &aProgress);
     
    4647    HRESULT getUpdateURL(com::Utf8Str &aUpdateURL);
    4748    HRESULT getUpdateCheckNeeded(BOOL *aUpdateCheckNeeded);
     49    /** @} */
    4850
    49     Utf8Str platformInfo();
     51    Utf8Str i_platformInfo();
     52    class UpdateCheckTask;
     53    HRESULT i_updateCheckTask(UpdateCheckTask *pTask);
     54    HRESULT i_checkForVBoxUpdate();
    5055
     56    /** @name Data members.
     57     * @{  */
    5158    VirtualBox * const mVirtualBox;
    5259    ComPtr<IHostUpdate> m_pHostUpdate;
     
    5461    Utf8Str  m_updateVersion;
    5562    Utf8Str  m_updateURL;
    56 
    57     class UpdateCheckTask;
    58 
    59     HRESULT i_updateCheckTask(UpdateCheckTask *pTask);
    60     HRESULT i_checkForVBoxUpdate();
     63    /** @} */
    6164};
    6265
  • trunk/src/VBox/Main/src-server/HostUpdateImpl.cpp

    r85728 r85729  
    1 /* $Id: */
     1/* $Id$ */
    22/** @file
    33 * IHostUpdate  COM class implementations.
     
    7979};
    8080
    81 /* static */
    8281void HostUpdate::UpdateCheckTask::handler()
    8382{
     
    9392}
    9493
    95 /* static */
    96 Utf8Str HostUpdate::platformInfo()
     94Utf8Str HostUpdate::i_platformInfo()
    9795{
    9896    /* Prepare platform report: */
     
    258256}
    259257
    260 /* static */
    261258HRESULT HostUpdate::i_checkForVBoxUpdate()
    262259{
     
    351348        return setErrorVrc(rc, tr("%s: IVirtualBox::version() failed: %Rrc"), __FUNCTION__, rc);
    352349
    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());
    354351    LogRelFunc(("userAgent = %s\n", strUserAgent.c_str()));
    355352
     
    419416}
    420417
    421 /* static */
    422418HRESULT HostUpdate::i_updateCheckTask(UpdateCheckTask *pTask)
    423419{
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