VirtualBox

Changeset 83670 in vbox for trunk/src


Ignore:
Timestamp:
Apr 10, 2020 2:07:00 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
137151
Message:

OCI: return the newly added cloud machine from ICloudClient::addCloudMachine.
Adjust the caller in the GUI. While here, add ICloudMachine::unregister,
not yet implemented.

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVM.cpp

    r83653 r83670  
    2323
    2424/* COM includes: */
     25#include "CCloudMachine.h"
    2526#include "CProgress.h"
    2627
     
    7576    foreach (const QString &strInstanceName, field("instanceIds").toStringList())
    7677    {
     78        CCloudMachine comMachine;
     79
    7780        /* Initiate cloud VM add procedure: */
    78         CProgress comProgress = comClient.AddCloudMachine(strInstanceName);
     81        CProgress comProgress = comClient.AddCloudMachine(strInstanceName, comMachine);
     82        RT_NOREF(comMachine);
    7983        if (!comClient.isOk())
    8084        {
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r83650 r83670  
    2668026680
    2668126681  <interface name="ICloudMachine" extends="$unknown"
    26682              uuid="bcb7c6d6-7a6e-11ea-9839-7f4258c13c14"
     26682             uuid="bcc71a82-7b27-11ea-8c77-2b2257f699a6"
    2668326683             wsmap="managed"
    2668426684             reservedMethods="16" reservedAttributes="8">
     
    2679026790      <param name="progress" type="IProgress" dir="return">
    2679126791        <desc>
    26792         Progress object to track the operation completion.
     26792          Progress object to track the operation completion.
     26793        </desc>
     26794      </param>
     26795    </method>
     26796
     26797    <method name="unregister" wrap-hint-server="limitedcaller,passcaller">
     26798      <param name="progress" type="IProgress" dir="return">
     26799        <desc>
     26800          Progress object to track the operation completion.
    2679326801        </desc>
    2679426802      </param>
     
    2694026948        </desc>
    2694126949      </param>
    26942       <!--
    2694326950      <param name="machine" type="ICloudMachine" dir="out">
    2694426951        <desc>
     
    2694626953        </desc>
    2694726954      </param>
    26948       -->
    2694926955      <param name="progress" type="IProgress" dir="return">
    2695026956        <desc>Progress object to track the operation completion.</desc>
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