VirtualBox

Ignore:
Timestamp:
Feb 17, 2009 5:00:56 PM (16 years ago)
Author:
vboxsync
Message:

Main: rename IHardDiskImage2 to IHardDiskImage; rename IFloppyImage2 to IFloppyImage; rename all media-related methods with a '2' suffix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl2.cpp

    r16856 r16867  
    577577        rc = CFGMR3InsertNode(pInst,    "LUN#0",     &pLunL0);                          RC_CHECK();
    578578
    579         ComPtr<IFloppyImage2> floppyImage;
     579        ComPtr<IFloppyImage> floppyImage;
    580580        hrc = floppyDrive->GetImage(floppyImage.asOutParam());                      H();
    581581        if (floppyImage)
     
    867867    /* Attach the hard disks */
    868868    {
    869         com::SafeIfaceArray <IHardDisk2Attachment> atts;
     869        com::SafeIfaceArray<IHardDiskAttachment> atts;
    870870        hrc = pMachine->
    871             COMGETTER(HardDisk2Attachments) (ComSafeArrayAsOutParam (atts));    H();
     871            COMGETTER(HardDiskAttachments) (ComSafeArrayAsOutParam (atts));    H();
    872872
    873873        for (size_t i = 0; i < atts.size(); ++ i)
    874874        {
    875             ComPtr <IHardDisk2> hardDisk;
     875            ComPtr<IHardDisk> hardDisk;
    876876            hrc = atts [i]->COMGETTER(HardDisk) (hardDisk.asOutParam());        H();
    877877            StorageBus_T enmBus;
     
    986986
    987987            /* Create an inversed tree of parents. */
    988             ComPtr <IHardDisk2> parentHardDisk = hardDisk;
     988            ComPtr<IHardDisk> parentHardDisk = hardDisk;
    989989            for (PCFGMNODE pParent = pCfg;;)
    990990            {
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