VirtualBox

Changeset 83650 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 9, 2020 3:06:10 PM (5 years ago)
Author:
vboxsync
Message:

OCI: Tweak ICloudMachine API as agreed with GUI so that they can start
using it. Stub the implementation out for now.

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UICloudNetworkingStuff.cpp

    r83643 r83650  
    220220                                                     QWidget *pParent /* = 0 */)
    221221{
    222     /* Execute ReadState async method: */
    223     CProgress comProgress = comCloudMachine.ReadState();
     222    /* Execute Refresh async method: */
     223    CProgress comProgress = comCloudMachine.Refresh();
    224224    if (!comCloudMachine.isOk())
    225225    {
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r83635 r83650  
    2668026680
    2668126681  <interface name="ICloudMachine" extends="$unknown"
    26682              uuid="c26e1432-7a04-11ea-901f-3bf60e81ed96"
     26682             uuid="bcb7c6d6-7a6e-11ea-9839-7f4258c13c14"
    2668326683             wsmap="managed"
    2668426684             reservedMethods="16" reservedAttributes="8">
    2668526685    <desc>
    2668626686      Virtual virtual machine (sic) in the cloud.
     26687
     26688      Reading object attributes returns cached values, use
     26689      <link to="#refresh"/> to refresh them.
    2668726690    </desc>
    2668826691
    2668926692    <attribute name="id" type="uuid" mod="string" readonly="yes">
    2669026693      <desc>UUID of the cloud machine.</desc>
     26694    </attribute>
     26695
     26696    <attribute name="accessible" type="boolean" readonly="yes"
     26697               wrap-hint-server="limitedcaller">
     26698      <desc>
     26699        Whether this virtual machine is currently accessible or not.
     26700        TBD...
     26701      </desc>
     26702    </attribute>
     26703
     26704    <attribute name="accessError" type="IVirtualBoxErrorInfo" readonly="yes"
     26705               wrap-hint-server="limitedcaller">
     26706      <desc>
     26707        Error information describing the reason of machine
     26708        inaccessibility.
     26709
     26710        Reading this property is only valid after the last call to
     26711        <link to="#accessible"/> returned @c false (i.e. the
     26712        machine is currently inaccessible). Otherwise, a @c null
     26713        IVirtualBoxErrorInfo object will be returned.
     26714      </desc>
    2669126715    </attribute>
    2669226716
     
    2670726731    </attribute>
    2670826732
     26733    <attribute name="state" type="MachineState" readonly="yes">
     26734      <desc>
     26735        Machine state.
     26736      </desc>
     26737    </attribute>
     26738
     26739    <method name="refresh">
     26740      <desc>
     26741        Refresh information by reading it from the cloud.
     26742      </desc>
     26743      <param name="progress" type="IProgress" dir="return">
     26744        <desc>
     26745          Progress object to track the operation completion.
     26746        </desc>
     26747      </param>
     26748    </method>
     26749
    2670926750    <method name="getSettingsForm">
    2671026751      <desc>
     
    2672326764      </param>
    2672426765    </method>
    26725 
    26726     <method name="readState">
    26727       <desc>
    26728         Read the state of the cloud machine and make it available via
    26729         the <link to="#state"/> attribute.
    26730       </desc>
    26731       <param name="progress" type="IProgress" dir="return">
    26732         <desc>
    26733           Progress object to track the operation completion.
    26734         </desc>
    26735       </param>
    26736     </method>
    26737     <attribute name="state" type="MachineState" readonly="yes">
    26738       <desc>
    26739         See <link to="#readState"/>.
    26740       </desc>
    26741     </attribute>
    2674226766
    2674326767    <method name="powerUp">
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