VirtualBox

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


Ignore:
Timestamp:
Mar 11, 2013 9:59:05 AM (12 years ago)
Author:
vboxsync
Message:

Main/VirtualBoxClient: add method to perform VM error checking which simplifies client code
com/ErrorInfo: small bugfix (the object where the error information originated was always lost), added a way to inject whole error object structures which needed the bugfix
Frontends/VBoxSDL: sample code how to use the new method

File:
1 edited

Legend:

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

    r44948 r44970  
    1828518285  <interface
    1828618286    name="IVirtualBoxClient" extends="$unknown"
    18287     uuid="5fe0bd48-1181-40d1-991f-3b02f269a823"
     18287    uuid="d191281f-b0cb-4d83-a8fa-0d9fd6ba234c"
    1828818288    wsmap="suppress"
    1828918289    >
     
    1831518315    </attribute>
    1831618316
     18317    <method name="checkMachineError">
     18318      <desc>
     18319        Perform error checking before using an <link to="IMachine"/> object.
     18320        Generally useful before starting a VM and all other uses. If anything
     18321        is not as it should be then this method will return an appropriate
     18322        error.
     18323      </desc>
     18324
     18325      <param name="machine" type="IMachine" dir="in">
     18326        <desc>The machine object to check.</desc>
     18327      </param>
     18328    </method>
    1831718329  </interface>
    1831818330
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