VirtualBox

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


Ignore:
Timestamp:
Mar 18, 2013 5:27:22 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
84350
Message:

Main/Machine: rename two methods for better compatibility with programming languages - delete and export might be keywords.

Location:
trunk/src/VBox/Frontends
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageAppliance.cpp

    r44868 r45068  
    55
    66/*
    7  * Copyright (C) 2009-2012 Oracle Corporation
     7 * Copyright (C) 2009-2013 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    977977            ComPtr<IMachine> pMachine = *itM;
    978978            ComPtr<IVirtualSystemDescription> pVSD;
    979             CHECK_ERROR_BREAK(pMachine, Export(pAppliance, Bstr(pszAbsFilePath).raw(), pVSD.asOutParam()));
     979            CHECK_ERROR_BREAK(pMachine, ExportTo(pAppliance, Bstr(pszAbsFilePath).raw(), pVSD.asOutParam()));
    980980            // Add additional info to the virtual system description if the user wants so
    981981            ArgsMap *pmapArgs = NULL;
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp

    r44948 r45068  
    162162    {
    163163        ComPtr<IProgress> pProgress;
    164         CHECK_ERROR_RET(machine, Delete(ComSafeArrayAsInParam(aMedia), pProgress.asOutParam()),
     164        CHECK_ERROR_RET(machine, DeleteConfig(ComSafeArrayAsInParam(aMedia), pProgress.asOutParam()),
    165165                        RTEXITCODE_FAILURE);
    166166
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserModel.cpp

    r45049 r45068  
    77
    88/*
    9  * Copyright (C) 2012 Oracle Corporation
     9 * Copyright (C) 2012-2013 Oracle Corporation
    1010 *
    1111 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    14671467                {
    14681468                    /* Delete machine hard-disks: */
    1469                     CProgress progress = machine.Delete(mediums);
     1469                    CProgress progress = machine.DeleteConfig(mediums);
    14701470                    if (machine.isOk())
    14711471                    {
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic4.cpp

    r41610 r45068  
    77
    88/*
    9  * Copyright (C) 2009-2012 Oracle Corporation
     9 * Copyright (C) 2009-2013 Oracle Corporation
    1010 *
    1111 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    5555            {
    5656                /* Add the export description to our appliance object: */
    57                 CVirtualSystemDescription vsd = machine.Export(*pAppliance, qobject_cast<UIWizardExportApp*>(wizardImp())->uri());
     57                CVirtualSystemDescription vsd = machine.ExportTo(*pAppliance, qobject_cast<UIWizardExportApp*>(wizardImp())->uri());
    5858                fResult = machine.isOk();
    5959                if (!fResult)
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVM.cpp

    r43477 r45068  
    77
    88/*
    9  * Copyright (C) 2006-2012 Oracle Corporation
     9 * Copyright (C) 2006-2013 Oracle Corporation
    1010 *
    1111 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    246246            if (vbox.isOk())
    247247            {
    248                 CProgress progress = m_machine.Delete(aMedia);
     248                CProgress progress = m_machine.DeleteConfig(aMedia);
    249249                progress.WaitForCompletion(-1);         // @todo do this nicely with a progress dialog, this can delete lots of files
    250250            }
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