VirtualBox

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


Ignore:
Timestamp:
Apr 25, 2022 10:28:46 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
151077
Message:

Main/Update check: Implemented and expose update agent events. ​​bugref:7983

File:
1 edited

Legend:

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

    r94700 r94704  
    1134511345  <interface
    1134611346    name="IUpdateAgent" extends="$unknown"
    11347     uuid="d6c683f2-489e-4701-aa6a-d490f7bc0d7e"
     11347    uuid="4cef7347-ed89-470b-9ac2-524ae889e17c"
    1134811348    wsmap="managed"
    1134911349    reservedMethods="2" reservedAttributes="4"
     
    1140111401      <desc>
    1140211402        Name of the update component.
     11403      </desc>
     11404    </attribute>
     11405
     11406    <attribute name="eventSource" type="IEventSource" readonly="yes">
     11407      <desc>
     11408        Event source for update agent events.
    1140311409      </desc>
    1140411410    </attribute>
     
    1155111557    </desc>
    1155211558    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
    11553   </interface>
    11554 
    11555   <interface
    11556     name="IUpdateAgentEvent" extends="$unknown"
    11557     uuid="aa1987dc-6402-4e3c-a0e9-68e87d301a83"
    11558     wsmap="managed"
    11559     reservedAttributes="4"
    11560     >
    11561     <desc>
    11562       Abstract base interface for update agent events.
    11563     </desc>
    11564 
    11565     <attribute name="eventSource" type="IEventSource" readonly="yes">
    11566       <desc>
    11567         Event source for update agent events.
    11568       </desc>
    11569     </attribute>
    11570 
    11571   </interface>
    11572 
    11573   <interface
    11574     name="IUpdateAgentSettingsChangedEvent" extends="IUpdateAgentEvent"
    11575     uuid="a3537480-a15f-404c-b540-abae5f6b25a0"
    11576     wsmap="managed"
    11577     reservedAttributes="4"
    11578     >
    11579     <desc>
    11580       Notification when update agent settings have been changed.
    11581     </desc>
    11582   </interface>
    11583 
    11584   <interface
    11585     name="IUpdateAgentErrorEvent" extends="IUpdateAgentEvent"
    11586     uuid="2dad1ad8-78be-441d-b4fa-9cff25ee16b2"
    11587     wsmap="managed"
    11588     reservedAttributes="4"
    11589     >
    11590     <desc>
    11591       Notification when an update agent error occurred.
    11592     </desc>
    11593 
    11594     <attribute name="msg" type="wstring" readonly="yes">
    11595       <desc>
    11596         Error message in human readable format.
    11597       </desc>
    11598     </attribute>
    11599 
    11600     <attribute name="rcError" type="long" readonly="yes">
    11601       <desc>
    11602         IPRT-style error code.
    11603       </desc>
    11604     </attribute>
    11605 
    11606   </interface>
    11607 
    11608   <interface
    11609     name="IUpdateAgentAvailableEvent" extends="IUpdateAgentEvent"
    11610     uuid="7b931bfa-3b2b-4220-87ce-86cb0dee7ed1"
    11611     wsmap="managed"
    11612     reservedAttributes="4"
    11613     >
    11614     <desc>
    11615       Notification when an update is available.
    11616     </desc>
    11617 
    11618     <attribute name="version" type="wstring" readonly="yes">
    11619       <desc>
    11620         Version of the update.
    11621       </desc>
    11622     </attribute>
    11623 
    11624     <attribute name="channel" type="UpdateChannel" readonly="yes">
    11625       <desc>
    11626         Channel containing the update.
    11627       </desc>
    11628     </attribute>
    11629 
    11630     <attribute name="severity" type="UpdateSeverity" readonly="yes">
    11631       <desc>
    11632         Severity of the update.
    11633       </desc>
    11634     </attribute>
    11635 
    11636     <attribute name="downloadURL" type="wstring" readonly="yes">
    11637       <desc>
    11638         Download URL of the update.
    11639       </desc>
    11640     </attribute>
    11641 
    11642     <attribute name="webURL" type="wstring" readonly="yes">
    11643       <desc>
    11644         Web URL of the update.
    11645       </desc>
    11646     </attribute>
    11647 
    11648     <attribute name="releaseNotes" type="wstring" readonly="yes">
    11649       <desc>
    11650         Release notes of the update.
    11651       </desc>
    11652     </attribute>
    11653 
    11654   </interface>
    11655 
    11656   <interface
    11657     name="IUpdateAgentStateChangedEvent" extends="IUpdateAgentEvent"
    11658     uuid="7da1b997-10ea-4690-99ff-df78bf309164"
    11659     wsmap="managed"
    11660     reservedAttributes="4"
    11661     >
    11662     <desc>
    11663       Notification when an update agent state has been changed.
    11664     </desc>
    11665 
    11666     <attribute name="state" type="UpdateState" readonly="yes">
    11667       <desc>
    11668         New update agent state.
    11669       </desc>
    11670     </attribute>
    11671 
    1167211559  </interface>
    1167311560
     
    2573725624  <enum
    2573825625    name="VBoxEventType"
    25739     uuid="c88a66ed-fbce-4c21-9196-12354bd96b89"
     25626    uuid="08cc6ebb-1e55-4b78-8fb1-1e06f5b4dbe9"
    2574025627    >
    2574125628
     
    2620126088      </desc>
    2620226089    </const>
     26090    <const name="OnUpdateAgentAvailable" value="112">
     26091      <desc>
     26092        See <link to="IUpdateAgentAvailableEvent">IUpdateAgentAvailableEvent</link>.
     26093      </desc>
     26094    </const>
     26095    <const name="OnUpdateAgentError" value="113">
     26096      <desc>
     26097        See <link to="IUpdateAgentErrorEvent">IUpdateAgentErrorEvent</link>.
     26098      </desc>
     26099    </const>
     26100    <const name="OnUpdateAgentSettingsChanged" value="114">
     26101      <desc>
     26102        See <link to="IUpdateAgentSettingsChangedEvent">IUpdateAgentSettingsChangedEvent</link>.
     26103      </desc>
     26104    </const>
     26105    <const name="OnUpdateAgentStateChanged" value="115">
     26106      <desc>
     26107        See <link to="IUpdateAgentStateChangedEvent">IUpdateAgentStateChangedEvent</link>.
     26108      </desc>
     26109    </const>
    2620326110    <!-- End event marker -->
    2620426111    <!-- @todo rename to 'End' as it is exclusive (we use 'last' to be inclusive). -->
    26205     <const name="Last" value="112">
     26112    <const name="Last" value="116">
    2620626113      <desc>
    2620726114        Must be last event, used for iterations and structures relying on numerical event values.
     
    2838128288      <desc>The virtual display output on which the monitor has changed.</desc>
    2838228289    </attribute>
     28290  </interface>
     28291
     28292  <interface
     28293    name="IUpdateAgentEvent" extends="IEvent"
     28294    uuid="0e33366a-670e-4e1f-9ddc-41c8a346cafd"
     28295    wsmap="managed">
     28296    <desc>
     28297      Abstract base interface for update agent events.
     28298    </desc>
     28299    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
     28300  </interface>
     28301
     28302  <interface
     28303    name="IUpdateAgentSettingsChangedEvent" extends="IUpdateAgentEvent"
     28304    uuid="abef51ae-1493-49f4-aa03-efaf106bf086"
     28305    wsmap="managed" autogen="VBoxEvent" id="OnUpdateAgentSettingsChanged"
     28306    >
     28307    <desc>
     28308      Notification when update agent settings have been changed.
     28309    </desc>
     28310    <attribute name="attributeHint" readonly="yes" type="wstring"/>
     28311  </interface>
     28312
     28313  <interface
     28314    name="IUpdateAgentErrorEvent" extends="IUpdateAgentEvent"
     28315    uuid="2a88033d-82db-4ac2-97b5-e786c839420e"
     28316    wsmap="managed" autogen="VBoxEvent" id="OnUpdateAgentError"
     28317    >
     28318    <desc>
     28319      Notification when an update agent error occurred.
     28320    </desc>
     28321
     28322    <attribute name="msg" type="wstring" readonly="yes">
     28323      <desc>
     28324        Error message in human readable format.
     28325      </desc>
     28326    </attribute>
     28327
     28328    <attribute name="rcError" type="long" readonly="yes">
     28329      <desc>
     28330        IPRT-style error code.
     28331      </desc>
     28332    </attribute>
     28333
     28334  </interface>
     28335
     28336  <interface
     28337    name="IUpdateAgentAvailableEvent" extends="IUpdateAgentEvent"
     28338    uuid="243829cb-15b7-42a4-8664-7aa4e34993da"
     28339    wsmap="managed" autogen="VBoxEvent" id="OnUpdateAgentAvailable"
     28340    >
     28341    <desc>
     28342      Notification when an update is available.
     28343    </desc>
     28344
     28345    <attribute name="version" type="wstring" readonly="yes">
     28346      <desc>
     28347        Version of the update.
     28348      </desc>
     28349    </attribute>
     28350
     28351    <attribute name="channel" type="UpdateChannel" readonly="yes">
     28352      <desc>
     28353        Channel containing the update.
     28354      </desc>
     28355    </attribute>
     28356
     28357    <attribute name="severity" type="UpdateSeverity" readonly="yes">
     28358      <desc>
     28359        Severity of the update.
     28360      </desc>
     28361    </attribute>
     28362
     28363    <attribute name="downloadURL" type="wstring" readonly="yes">
     28364      <desc>
     28365        Download URL of the update.
     28366      </desc>
     28367    </attribute>
     28368
     28369    <attribute name="webURL" type="wstring" readonly="yes">
     28370      <desc>
     28371        Web URL of the update.
     28372      </desc>
     28373    </attribute>
     28374
     28375    <attribute name="releaseNotes" type="wstring" readonly="yes">
     28376      <desc>
     28377        Release notes of the update.
     28378      </desc>
     28379    </attribute>
     28380
     28381  </interface>
     28382
     28383  <interface
     28384    name="IUpdateAgentStateChangedEvent" extends="IUpdateAgentEvent"
     28385    uuid="eb000a0e-2079-4f47-bbcc-c6b28a4e50df"
     28386    wsmap="managed" autogen="VBoxEvent" id="OnUpdateAgentStateChanged"
     28387    >
     28388    <desc>
     28389      Notification when an update agent state has been changed.
     28390    </desc>
     28391
     28392    <attribute name="state" type="UpdateState" readonly="yes">
     28393      <desc>
     28394        New update agent state.
     28395      </desc>
     28396    </attribute>
     28397
    2838328398  </interface>
    2838428399
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