VirtualBox

Changeset 83670 in vbox for trunk/src/VBox/Frontends


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.

File:
1 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        {
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