VirtualBox

Changeset 94644 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Apr 20, 2022 9:15:47 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/Frontends
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageUpdateCheck.cpp

    r94643 r94644  
    210210     */
    211211    if (enmChannel != enmChannelNil)
     212    {
    212213        CHECK_ERROR2I_RET(pUpdateAgent, COMSETTER(Channel)(enmChannel), RTEXITCODE_FAILURE);
     214    }
    213215    if (fEnabled != -1)
     216    {
    214217        CHECK_ERROR2I_RET(pUpdateAgent, COMSETTER(Enabled)((BOOL)fEnabled), RTEXITCODE_FAILURE);
     218    }
    215219    if (cFrequencyDays)
     220    {
    216221        CHECK_ERROR2I_RET(pUpdateAgent, COMSETTER(CheckFrequency)(cFrequencyDays * RT_SEC_1DAY), RTEXITCODE_FAILURE);
     222    }
    217223
    218224    return RTEXITCODE_SUCCESS;
  • trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter/UINotificationObjects.cpp

    r94643 r94644  
    43594359        return;
    43604360
    4361     bool const fUpdateAvailable = m_comUpdateHost.GetState() == UpdateState_Available; /** @todo Handle other states. */
     4361    bool const fUpdateAvailable = m_comUpdateHost.GetState() == KUpdateState_Available; /** @todo Handle other states. */
    43624362    if (!m_comUpdateHost.isOk())
    43634363        return;
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