VirtualBox

Changeset 85190 in vbox


Ignore:
Timestamp:
Jul 10, 2020 2:51:15 PM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9722: UICloudNetworkingStuff: Extend wrappers with possibility to acquire console connection fingerprint of certain cloud machine.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/globals
Files:
2 edited

Legend:

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

    r84196 r85190  
    443443    {
    444444        enmResult = enmState;
     445        return true;
     446    }
     447    return false;
     448}
     449
     450bool UICloudNetworkingStuff::cloudMachineConsoleConnectionFingerprint(const CCloudMachine &comCloudMachine,
     451                                                                      QString &strResult,
     452                                                                      QWidget *pParent /* = 0 */)
     453{
     454    const QString strConsoleConnectionFingerprint = comCloudMachine.GetConsoleConnectionFingerprint();
     455    if (!comCloudMachine.isOk())
     456        msgCenter().cannotAcquireCloudMachineParameter(comCloudMachine, pParent);
     457    else
     458    {
     459        strResult = strConsoleConnectionFingerprint;
    445460        return true;
    446461    }
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UICloudNetworkingStuff.h

    r84196 r85190  
    137137                                                KCloudMachineState &enmResult,
    138138                                                QWidget *pParent = 0);
     139    /** Acquires @a comCloudMachine console connection fingerprint as a @a strResult,
     140      * using @a pParent to show messages according to. */
     141    SHARED_LIBRARY_STUFF bool cloudMachineConsoleConnectionFingerprint(const CCloudMachine &comCloudMachine,
     142                                                                       QString &strResult,
     143                                                                       QWidget *pParent = 0);
    139144
    140145    /** Refreshes @a comCloudMachine information, using @a pParent to show messages according to.
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