Changeset 26067 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Jan 27, 2010 1:33:54 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 56994
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/globals
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp
r26034 r26067 6 6 7 7 /* 8 * Copyright (C) 2008-20 09Sun Microsystems, Inc.8 * Copyright (C) 2008-2010 Sun Microsystems, Inc. 9 9 * 10 10 * This file is part of VirtualBox Open Source Edition (OSE), as … … 2190 2190 * which is already running, @c false to open a new direct 2191 2191 * session. 2192 */ 2193 CSession VBoxGlobal::openSession (const QString &aId, bool aExisting /* = false */) 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 */) 2194 2198 { 2195 2199 CSession session; … … 2205 2209 else 2206 2210 { 2211 session.SetFullConsole(aFullConsole); 2207 2212 mVBox.OpenSession (session, aId); 2208 2213 CMachine machine = session.GetMachine (); … … 2231 2236 AssertReturn (mValid, false); 2232 2237 2233 CSession session = vboxGlobal().openSession (id );2238 CSession session = vboxGlobal().openSession (id, false, true); 2234 2239 if (session.isNull()) 2235 2240 return false; -
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.h
r25318 r26067 6 6 7 7 /* 8 * Copyright (C) 2006-20 09Sun Microsystems, Inc.8 * Copyright (C) 2006-2010 Sun Microsystems, Inc. 9 9 * 10 10 * This file is part of VirtualBox Open Source Edition (OSE), as … … 670 670 #endif 671 671 672 CSession openSession (const QString &aId, bool aExisting = false );672 CSession openSession (const QString &aId, bool aExisting = false, bool aFullConsole = false); 673 673 674 674 /** Shortcut to openSession (aId, true). */
Note:
See TracChangeset
for help on using the changeset viewer.