VirtualBox

Changeset 85683 in vbox for trunk/src/VBox/Main/idl


Ignore:
Timestamp:
Aug 11, 2020 11:03:42 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139819
Message:

Main,FE,doc/VBoxManage+Host+SystemProperties+manual: bugref:7983: Move update check from GUI to API, add more data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r85574 r85683  
    1022510225  </interface>
    1022610226
     10227  <enum
     10228    name="UpdateCheckType"
     10229    uuid="ac34bb91-6739-4791-b30f-ce84e57928bb"
     10230    >
     10231    <desc>
     10232      Which type of software to check whether a new version exists.
     10233    </desc>
     10234    <const name="None"              value="0">
     10235      <desc>No flags specified. Do not use this.</desc>
     10236    </const>
     10237    <const name="VirtualBox"        value="1"/>
     10238    <const name="ExtensionPack"     value="2"/>
     10239    <const name="GuestAdditions"    value="3"/>
     10240  </enum>
     10241
    1022710242  <interface
    1022810243    name="IHostUpdate" extends="$unknown"
     
    1023610251      by <link to="IHost::update" /> attribute).
    1023710252    </desc>
     10253
     10254    <method name="updateCheck">
     10255      <desc>
     10256        Check for a newer version of software based on the 'checkType' value.
     10257      </desc>
     10258      <param name="checkType" type="UpdateCheckType" dir="in">
     10259        <desc>The type of software to check.</desc>
     10260      </param>
     10261      <param name="progress" type="IProgress" dir="return">
     10262        <desc>Progress object to track operation completion.</desc>
     10263      </param>
     10264    </method>
     10265
     10266    <attribute name="updateResponse" type="boolean" readonly="yes">
     10267      <desc>
     10268        The response from the <link to="IHostUpdate::updateCheck"/> method.
     10269      </desc>
     10270    </attribute>
     10271
     10272    <attribute name="updateVersion" type="wstring" readonly="yes">
     10273      <desc>
     10274       The newer version of the software returned by calling the update check
     10275       <link to="IHostUpdate::updateCheck"/> method.
     10276      </desc>
     10277    </attribute>
     10278
     10279    <attribute name="updateURL" type="wstring" readonly="yes">
     10280      <desc>
     10281       The download URL of the newer software version returned by calling the
     10282       update check <link to="IHostUpdate::updateCheck"/> method.
     10283      </desc>
     10284    </attribute>
     10285
     10286    <attribute name="updateCheckNeeded" type="boolean" readonly="yes">
     10287      <desc>
     10288        Is it time to check for a newer version of software?
     10289      </desc>
     10290    </attribute>
    1023810291
    1023910292  </interface>
     
    1074010793
    1074110794    <attribute name="update" type="IHostUpdate" readonly="yes">
    10742       <desc>List of floppy drives available on the host.</desc>
     10795      <desc>The check for newer software object (singleton).</desc>
    1074310796    </attribute>
    1074410797
     
    1078610839  </enum>
    1078710840
     10841  <enum name="VBoxUpdateTarget" uuid="900d4a76-7b08-4af8-a453-f331e783eaee">
     10842    <desc> The preferred release type used for determining whether a newer version of VirtualBox is available. <link to="ISystemProperties::VBoxUpdateTarget"/></desc>
     10843    <const name="Stable" value="0">
     10844      <desc>Stable releases: new maintenance and minor releases within the same major release version.  This is the default.</desc>
     10845    </const>
     10846    <const name="AllReleases" value="1">
     10847      <desc>All releases: new maintenance, minor, and major releases.</desc>
     10848    </const>
     10849    <const name="WithBetas" value="2">
     10850      <desc>With betas: new maintenance, minor, and major releases as well as beta releases.</desc>
     10851    </const>
     10852  </enum>
     10853
    1078810854  <interface
    1078910855    name="ISystemProperties"
     
    1131511381        Returns an array of officially supported values for enum <link to="ChipsetType"/>,
    1131611382        in the sense of what is e.g. worth offering in the VirtualBox GUI.
     11383      </desc>
     11384    </attribute>
     11385
     11386    <attribute name="VBoxUpdateEnabled" type="boolean" readyonly="no">
     11387      <desc> Is the VirtualBox update check enabled?</desc>
     11388    </attribute>
     11389
     11390    <attribute name="VBoxUpdateFrequency" type="unsigned long" readonly="no">
     11391      <desc> How often should a check for a newer version of VirtualBox be made? (in days)</desc>
     11392    </attribute>
     11393
     11394    <attribute name="VBoxUpdateLastCheckDate" type="wstring" readonly="no">
     11395      <desc>
     11396        When was the update check last performed? If updating this attribute the
     11397        string must be in ISO 8601 format (e.g. 2020-05-11T21:13:39.348416000Z).
     11398      </desc>
     11399    </attribute>
     11400
     11401    <attribute name="VBoxUpdateTarget" type="VBoxUpdateTarget" readonly="no">
     11402      <desc> The preferred release type used for determining whether a newer version of VirtualBox is available.</desc>
     11403    </attribute>
     11404
     11405    <attribute name="VBoxUpdateCount" type="unsigned long" readonly="no">
     11406      <desc> The count of update check attempts.</desc>
     11407    </attribute>
     11408
     11409    <attribute name="supportedVBoxUpdateTargetTypes" type="VBoxUpdateTarget" safearray="yes" readonly="yes">
     11410      <desc>
     11411        Returns an array of officially supported values for enum <link to="VBoxUpdateTarget"/>.
    1131711412      </desc>
    1131811413    </attribute>
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