VirtualBox

Changeset 26068 in vbox for trunk/src/VBox/Frontends/VBoxSDL


Ignore:
Timestamp:
Jan 27, 2010 2:05:30 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
56996
Message:

back out Main/Session+Console hack introducing full/reduced console

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp

    r26067 r26068  
    55
    66/*
    7  * Copyright (C) 2006-2010 Sun Microsystems, Inc.
     7 * Copyright (C) 2006-2009 Sun Microsystems, Inc.
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    14881488    AssertReleaseRC(vrc);
    14891489
    1490     rc = session->COMSETTER(FullConsole)(true);
    1491     if (FAILED(rc))
    1492     {
    1493         com::ErrorInfo info;
    1494         if (info.isFullAvailable())
    1495             PrintError("Could not select a full VM console",
    1496                     info.getText().raw(), info.getComponent().raw());
    1497         goto leave;
    1498     }
    14991490    rc = virtualBox->OpenSession(session, uuidVM.toUtf16());
    15001491    if (FAILED(rc))
     
    15041495            PrintError("Could not open VirtualBox session",
    15051496                    info.getText().raw(), info.getComponent().raw());
     1497        goto leave;
     1498    }
     1499    if (!session)
     1500    {
     1501        RTPrintf("Could not open VirtualBox session!\n");
    15061502        goto leave;
    15071503    }
     
    29202916    callback.setNull();
    29212917    consoleCallback.setNull();
    2922 
     2918   
    29232919    LogFlow(("Uninitializing COM...\n"));
    29242920    com::Shutdown();
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