VirtualBox

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

Location:
trunk/src/VBox/Frontends/VirtualBox/src/globals
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp

    r26067 r26068  
    66
    77/*
    8  * Copyright (C) 2008-2010 Sun Microsystems, Inc.
     8 * Copyright (C) 2008-2009 Sun Microsystems, Inc.
    99 *
    1010 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    21902190 *                      which is already running, @c false to open a new direct
    21912191 *                      session.
    2192  *  @param aFullConsole @c true to create a full console, suitable of running
    2193  *                      a VM, @c false to create a minimal console suitable
    2194  *                      for API clients. Only significant if @a aExisting is
    2195  *                      @false.
    2196  */
    2197 CSession VBoxGlobal::openSession (const QString &aId, bool aExisting /* = false */, bool aFullConsole /* = false */)
     2192 */
     2193CSession VBoxGlobal::openSession (const QString &aId, bool aExisting /* = false */)
    21982194{
    21992195    CSession session;
     
    22092205    else
    22102206    {
    2211         session.SetFullConsole(aFullConsole);
    22122207        mVBox.OpenSession (session, aId);
    22132208        CMachine machine = session.GetMachine ();
     
    22362231    AssertReturn (mValid, false);
    22372232
    2238     CSession session = vboxGlobal().openSession (id, false, true);
     2233    CSession session = vboxGlobal().openSession (id);
    22392234    if (session.isNull())
    22402235        return false;
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.h

    r26067 r26068  
    66
    77/*
    8  * Copyright (C) 2006-2010 Sun Microsystems, Inc.
     8 * Copyright (C) 2006-2009 Sun Microsystems, Inc.
    99 *
    1010 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    670670#endif
    671671
    672     CSession openSession (const QString &aId, bool aExisting = false, bool aFullConsole = false);
     672    CSession openSession (const QString &aId, bool aExisting = false);
    673673
    674674    /** Shortcut to openSession (aId, true). */
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