VirtualBox

Ignore:
Timestamp:
Jul 22, 2010 3:24:27 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
63924
Message:

Main: reorganize session APIs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/VBoxSnapshotsWgt.cpp

    r30868 r31008  
    444444
    445445    /* Whether another direct session is open or not */
    446     bool busy = mSessionState != KSessionState_Closed;
     446    bool busy = mSessionState != KSessionState_Unlocked;
    447447
    448448    /* Machine state of the current state item */
     
    571571
    572572    /* Open a direct session (this call will handle all errors) */
    573     bool busy = mSessionState != KSessionState_Closed;
     573    bool busy = mSessionState != KSessionState_Unlocked;
    574574    CSession session = vboxGlobal().openSession (mMachineId, busy /* aExisting */);
    575575    if (session.isNull())
     
    641641    {
    642642        /* Open a direct session (this call will handle all errors) */
    643         bool busy = mSessionState != KSessionState_Closed;
     643        bool busy = mSessionState != KSessionState_Unlocked;
    644644        CSession session = vboxGlobal().openSession (mMachineId, busy /* aExisting */);
    645645        if (session.isNull())
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