VirtualBox

Changeset 51614 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 12, 2014 5:00:55 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
94353
Message:

6813 Use of server side API wrapper code - ConsoleImpl.cpp - vn3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImpl.cpp

    r51612 r51614  
    32353235    ComObjPtr<IProgress> iProgress;
    32363236    MachineState_T machineState = MachineState_Null;
    3237     HRESULT rc = mControl->DeleteSnapshot((IConsole *)this, BSTR(aId.toString().c_str()), BSTR(aId.toString().c_str()),
    3238                                           FALSE /* fDeleteAllChildren */, &machineState, iProgress.asOutParam());
     3237    HRESULT rc = mControl->DeleteSnapshot((IConsole *)this, BSTR(aId.toString().c_str()), BSTR(aId.toString().c_str()), FALSE /* fDeleteAllChildren */, &machineState, iProgress.asOutParam());
    32393238    if (FAILED(rc)) return rc;
    32403239    iProgress.queryInterfaceTo(aProgress.asOutParam());
     
    32563255    ComObjPtr<IProgress> iProgress;
    32573256    MachineState_T machineState = MachineState_Null;
    3258     HRESULT rc = mControl->DeleteSnapshot((IConsole *)this, BSTR(aId.toString().c_str()), BSTR(aId.toString().c_str()),
    3259                                           TRUE /* fDeleteAllChildren */, &machineState, iProgress.asOutParam());
     3257    HRESULT rc = mControl->DeleteSnapshot((IConsole *)this, BSTR(aId.toString().c_str()), BSTR(aId.toString().c_str()), TRUE /* fDeleteAllChildren */, &machineState, iProgress.asOutParam());
    32603258    if (FAILED(rc)) return rc;
    32613259    iProgress.queryInterfaceTo(aProgress.asOutParam());
     
    84648462 * @todo Move this back into the driver!
    84658463 */
    8466 HRESULT Console::attachToTapInterface(INetworkAdapter *networkAdapter)
     8464HRESULT Console::i_attachToTapInterface(INetworkAdapter *networkAdapter)
    84678465{
    84688466    LogFlowThisFunc(("\n"));
     
    85298527            if (fcntl(RTFileToNative(maTapFD[slot]), F_SETFL, O_NONBLOCK) != -1)
    85308528            {
    8531                 Log(("attachToTapInterface: %RTfile %ls\n", maTapFD[slot], tapDeviceName.raw()));
     8529                Log(("i_attachToTapInterface: %RTfile %ls\n", maTapFD[slot], tapDeviceName.raw()));
    85328530                /*
    85338531                 * Here is the right place to communicate the TAP file descriptor and
     
    86348632 * @todo Move this back into the driver!
    86358633 */
    8636 HRESULT Console::detachFromTapInterface(INetworkAdapter *networkAdapter)
     8634HRESULT Console::i_detachFromTapInterface(INetworkAdapter *networkAdapter)
    86378635{
    86388636    /* sanity check */
     
    87308728        {
    87318729#if ((defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD)) && !defined(VBOX_WITH_NETFLT))
    8732             HRESULT rc2 = detachFromTapInterface(pNetworkAdapter);
     8730            HRESULT rc2 = i_detachFromTapInterface(pNetworkAdapter);
    87338731            if (FAILED(rc2) && SUCCEEDED(rc))
    87348732                rc = rc2;
     
    92809278                                      "The shared folder setup will not be complete. It is recommended to power down the virtual "
    92819279                                      "machine and fix the shared folder settings while the machine is not running"),
    9282                                       it->first.c_str(), eik.getText().raw());
     9280                                    it->first.c_str(), eik.getText().raw());
    92839281                        }
    92849282                    }
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