VirtualBox

Changeset 98806 in vbox


Ignore:
Timestamp:
Mar 1, 2023 3:37:05 PM (21 months ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10322: Missed files in r156124.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter/UINotificationObjects.cpp

    r98801 r98806  
    6060#include "CExtPack.h"
    6161#include "CGraphicsAdapter.h"
     62#include "CGuestOSType.h"
    6263#include "CHostNetworkInterface.h"
    6364#include "CHostOnlyNetwork.h"
     
    752753        QApplication::translate("UIMessageCenter", "Failed to acquire guest parameter.") +
    753754        UIErrorString::formatErrorInfo(comGuest));
     755}
     756
     757/* static */
     758void UINotificationMessage::cannotAcquireGuestOSTypeParameter(const CGuestOSType &comGuestOSType)
     759{
     760    createMessage(
     761        QApplication::translate("UIMessageCenter", "Guest OS type failure ..."),
     762        QApplication::translate("UIMessageCenter", "Failed to acquire guest OS type parameter.") +
     763        UIErrorString::formatErrorInfo(comGuestOSType));
    754764}
    755765
  • trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter/UINotificationObjects.h

    r98801 r98806  
    7272class CCloudProfile;
    7373class CEmulatedUSB;
     74class CGuestOSType;
    7475class CKeyboard;
    7576class CMachineDebugger;
     
    326327          * @param  comGuest  Brings the object parameter get acquired from. */
    327328        static void cannotAcquireGuestParameter(const CGuest &comGuest);
     329        /** Notifies about inability to acquire IGuestOSType parameter.
     330          * @param  comGuestOSType  Brings the object parameter get acquired from. */
     331        static void cannotAcquireGuestOSTypeParameter(const CGuestOSType &comGuestOSType);
    328332        /** Notifies about inability to acquire ISnapshot parameter.
    329333          * @param  comSnapshot  Brings the object parameter get acquired from. */
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachine.cpp

    r98801 r98806  
    765765{
    766766    return uisession()->acquireAmountOfImmutableImages(cAmount);
     767}
     768
     769bool UIMachine::mountBootMedium(const QUuid &uMediumId)
     770{
     771    return uisession()->mountBootMedium(uMediumId);
    767772}
    768773
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachine.h

    r98801 r98806  
    523523        /** Calculates @a cAmount of immutable images. */
    524524        bool acquireAmountOfImmutableImages(ulong &cAmount);
     525
     526        /** Attempts to mount medium with @p uMediumId to the machine
     527          * if it can find an appropriate controller and port. */
     528        bool mountBootMedium(const QUuid &uMediumId);
    525529    /** @} */
    526530
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