VirtualBox

Ignore:
Timestamp:
Nov 3, 2009 10:07:55 PM (15 years ago)
Author:
vboxsync
Message:

Main,Frontends: Added two new running states: Teleporting and LiveSnapshotting. Also added TeleportingPausedVM. Renamed TeleportingFrom to TeleportingIn.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxConsoleView.h

    r23223 r24301  
    8888
    8989    bool pause (bool on);
    90     bool isPaused() { return mLastState == KMachineState_Paused; }
     90    bool isPaused()
     91    {
     92        return mLastState == KMachineState_Paused
     93            || mLastState == KMachineState_TeleportingPausedVM;
     94    }
    9195    const QPixmap& pauseShot() const { return mPausedShot; }
    9296
     
    231235    void setPointerShape (MousePointerChangeEvent *me);
    232236
    233     bool isRunning() { return mLastState == KMachineState_Running; }
     237    bool isRunning()
     238    {
     239        return mLastState == KMachineState_Running
     240            || mLastState == KMachineState_Teleporting
     241            || mLastState == KMachineState_LiveSnapshotting;
     242    }
    234243
    235244    static void dimImage (QImage &img);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette