Changeset 98427 in vbox for trunk/src/VBox
- Timestamp:
- Feb 2, 2023 9:59:21 AM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 155674
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo
-
old new 19 19 /branches/dsen/gui2:79224,79228,79233,79235,79258,79262-79263,79273,79341,79345,79354,79357,79387-79388,79559-79569,79572-79573,79578,79581-79582,79590-79591,79598-79599,79602-79603,79605-79606,79632,79635,79637,79644 20 20 /branches/dsen/gui3:79645-79692 21 /branches/dsen/gui4:155183-155185,155187,155198,155200-155201,155205,155228,155235,155243,155248,155282,155285,155287-155288,155311,155316,155336,155342,155344,155437-155438,155441,155443,155488,155509-155513,155526-155527,155559,155572,155576-155577 21 /branches/dsen/gui4:155183-155185,155187,155198,155200-155201,155205,155228,155235,155243,155248,155282,155285,155287-155288,155311,155316,155336,155342,155344,155437-155438,155441,155443,155488,155509-155513,155526-155527,155559,155572,155576-155577,155592-155593 22 22 /trunk/src:92342,154921
-
- Property svn:mergeinfo
-
trunk/src/VBox
- Property svn:mergeinfo
-
old new 19 19 /branches/dsen/gui2/src/VBox:79224,79228,79233,79235,79258,79262-79263,79273,79341,79345,79354,79357,79387-79388,79559-79569,79572-79573,79578,79581-79582,79590-79591,79598-79599,79602-79603,79605-79606,79632,79635,79637,79644 20 20 /branches/dsen/gui3/src/VBox:79645-79692 21 /branches/dsen/gui4/src/VBox:155183-155185,155187,155198,155200-155201,155205,155228,155235,155243,155248,155282,155285,155287-155288,155311,155316,155336,155342,155344,155437-155438,155441,155443,155488,155509-155513,155526-155527,155559,155572,155576-155577 21 /branches/dsen/gui4/src/VBox:155183-155185,155187,155198,155200-155201,155205,155228,155235,155243,155248,155282,155285,155287-155288,155311,155316,155336,155342,155344,155437-155438,155441,155443,155488,155509-155513,155526-155527,155559,155572,155576-155577,155592-155593
-
- Property svn:mergeinfo
-
trunk/src/VBox/Frontends
- Property svn:mergeinfo
-
old new 16 16 /branches/dsen/gui2/src/VBox/Frontends:79224,79228,79233,79235,79258,79262-79263,79273,79341,79345,79354,79357,79387-79388,79559-79569,79572-79573,79578,79581-79582,79590-79591,79598-79599,79602-79603,79605-79606,79632,79635,79637,79644 17 17 /branches/dsen/gui3/src/VBox/Frontends:79645-79692 18 /branches/dsen/gui4/src/VBox/Frontends:155183-155185,155187,155198,155200-155201,155205,155228,155235,155243,155248,155282,155285,155287-155288,155311,155316,155336,155342,155344,155437-155438,155441,155443,155488,155509-155513,155526-155527,155559,155572,155576-155577 18 /branches/dsen/gui4/src/VBox/Frontends:155183-155185,155187,155198,155200-155201,155205,155228,155235,155243,155248,155282,155285,155287-155288,155311,155316,155336,155342,155344,155437-155438,155441,155443,155488,155509-155513,155526-155527,155559,155572,155576-155577,155592-155593
-
- Property svn:mergeinfo
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachine.cpp
r98425 r98427 862 862 863 863 /* Prepare stuff: */ 864 prepareBranding(); 864 865 prepareSessionConnections(); 865 866 prepareActions(); 866 867 prepareScreens(); 867 prepareBranding();868 868 prepareKeyboard(); 869 869 prepareClose(); … … 885 885 /* True by default: */ 886 886 return true; 887 } 888 889 void UIMachine::prepareBranding() 890 { 891 /* Acquire user machine-window icon: */ 892 QIcon icon = generalIconPool().userMachineIcon(uisession()->machine()); 893 /* Use the OS type icon if user one was not set: */ 894 if (icon.isNull()) 895 icon = generalIconPool().guestOSTypeIcon(uisession()->machine().GetOSTypeId()); 896 /* Use the default icon if nothing else works: */ 897 if (icon.isNull()) 898 icon = QIcon(":/VirtualBox_48px.png"); 899 /* Store the icon dynamically: */ 900 m_pMachineWindowIcon = new QIcon(icon); 901 902 #ifndef VBOX_WS_MAC 903 /* Load user's machine-window name postfix: */ 904 const QUuid uMachineID = uiCommon().managedVMUuid(); 905 m_strMachineWindowNamePostfix = gEDataManager->machineWindowNamePostfix(uMachineID); 906 #endif /* !VBOX_WS_MAC */ 887 907 } 888 908 … … 942 962 } 943 963 964 void UIMachine::prepareActions() 965 { 966 /* Create action-pool: */ 967 m_pActionPool = UIActionPool::create(UIActionPoolType_Runtime); 968 if (actionPool()) 969 { 970 /* Make sure action-pool knows guest-screen count: */ 971 actionPool()->toRuntime()->setGuestScreenCount(uisession()->frameBuffers().size()); 972 /* Update action restrictions: */ 973 updateActionRestrictions(); 974 975 #ifdef VBOX_WS_MAC 976 /* Create Mac OS X menu-bar: */ 977 m_pMenuBar = new QMenuBar; 978 if (m_pMenuBar) 979 { 980 /* Configure Mac OS X menu-bar: */ 981 connect(gEDataManager, &UIExtraDataManager::sigMenuBarConfigurationChange, 982 this, &UIMachine::sltHandleMenuBarConfigurationChange); 983 /* Update Mac OS X menu-bar: */ 984 updateMenu(); 985 } 986 #endif /* VBOX_WS_MAC */ 987 988 /* Get machine ID: */ 989 const QUuid uMachineID = uiCommon().managedVMUuid(); 990 Q_UNUSED(uMachineID); 991 992 #ifdef VBOX_WS_MAC 993 /* User-element (Menu-bar and Dock) options: */ 994 { 995 const bool fDisabled = gEDataManager->guiFeatureEnabled(GUIFeatureType_NoUserElements); 996 if (fDisabled) 997 UICocoaApplication::instance()->hideUserElements(); 998 } 999 #else /* !VBOX_WS_MAC */ 1000 /* Menu-bar options: */ 1001 { 1002 const bool fEnabledGlobally = !gEDataManager->guiFeatureEnabled(GUIFeatureType_NoMenuBar); 1003 const bool fEnabledForMachine = gEDataManager->menuBarEnabled(uMachineID); 1004 const bool fEnabled = fEnabledGlobally && fEnabledForMachine; 1005 actionPool()->action(UIActionIndexRT_M_View_M_MenuBar_S_Settings)->setEnabled(fEnabled); 1006 actionPool()->action(UIActionIndexRT_M_View_M_MenuBar_T_Visibility)->blockSignals(true); 1007 actionPool()->action(UIActionIndexRT_M_View_M_MenuBar_T_Visibility)->setChecked(fEnabled); 1008 actionPool()->action(UIActionIndexRT_M_View_M_MenuBar_T_Visibility)->blockSignals(false); 1009 } 1010 #endif /* !VBOX_WS_MAC */ 1011 1012 /* View options: */ 1013 const bool fGuestScreenAutoresize = gEDataManager->guestScreenAutoResizeEnabled(uMachineID); 1014 actionPool()->action(UIActionIndexRT_M_View_T_GuestAutoresize)->blockSignals(true); 1015 actionPool()->action(UIActionIndexRT_M_View_T_GuestAutoresize)->setChecked(fGuestScreenAutoresize); 1016 actionPool()->action(UIActionIndexRT_M_View_T_GuestAutoresize)->blockSignals(false); 1017 1018 /* Input options: */ 1019 const bool fMouseIntegrated = isMouseIntegrated(); // no e-data for now .. 1020 actionPool()->action(UIActionIndexRT_M_Input_M_Mouse_T_Integration)->blockSignals(true); 1021 actionPool()->action(UIActionIndexRT_M_Input_M_Mouse_T_Integration)->setChecked(fMouseIntegrated); 1022 actionPool()->action(UIActionIndexRT_M_Input_M_Mouse_T_Integration)->blockSignals(false); 1023 1024 /* Device options: */ 1025 actionPool()->action(UIActionIndexRT_M_Devices_S_UpgradeGuestAdditions)->setEnabled(false); 1026 1027 /* Status-bar options: */ 1028 { 1029 const bool fEnabledGlobally = !gEDataManager->guiFeatureEnabled(GUIFeatureType_NoStatusBar); 1030 const bool fEnabledForMachine = gEDataManager->statusBarEnabled(uMachineID); 1031 const bool fEnabled = fEnabledGlobally && fEnabledForMachine; 1032 actionPool()->action(UIActionIndexRT_M_View_M_StatusBar_S_Settings)->setEnabled(fEnabled); 1033 actionPool()->action(UIActionIndexRT_M_View_M_StatusBar_T_Visibility)->blockSignals(true); 1034 actionPool()->action(UIActionIndexRT_M_View_M_StatusBar_T_Visibility)->setChecked(fEnabled); 1035 actionPool()->action(UIActionIndexRT_M_View_M_StatusBar_T_Visibility)->blockSignals(false); 1036 } 1037 } 1038 } 1039 944 1040 void UIMachine::prepareScreens() 945 1041 { … … 1031 1127 } 1032 1128 1033 void UIMachine::prepareBranding()1034 {1035 /* Acquire user machine-window icon: */1036 QIcon icon = generalIconPool().userMachineIcon(uisession()->machine());1037 /* Use the OS type icon if user one was not set: */1038 if (icon.isNull())1039 icon = generalIconPool().guestOSTypeIcon(uisession()->machine().GetOSTypeId());1040 /* Use the default icon if nothing else works: */1041 if (icon.isNull())1042 icon = QIcon(":/VirtualBox_48px.png");1043 /* Store the icon dynamically: */1044 m_pMachineWindowIcon = new QIcon(icon);1045 1046 #ifndef VBOX_WS_MAC1047 /* Load user's machine-window name postfix: */1048 const QUuid uMachineID = uiCommon().managedVMUuid();1049 m_strMachineWindowNamePostfix = gEDataManager->machineWindowNamePostfix(uMachineID);1050 #endif /* !VBOX_WS_MAC */1051 }1052 1053 void UIMachine::prepareActions()1054 {1055 /* Create action-pool: */1056 m_pActionPool = UIActionPool::create(UIActionPoolType_Runtime);1057 if (actionPool())1058 {1059 /* Make sure action-pool knows guest-screen count: */1060 actionPool()->toRuntime()->setGuestScreenCount(uisession()->frameBuffers().size());1061 /* Update action restrictions: */1062 updateActionRestrictions();1063 1064 #ifdef VBOX_WS_MAC1065 /* Create Mac OS X menu-bar: */1066 m_pMenuBar = new QMenuBar;1067 if (m_pMenuBar)1068 {1069 /* Configure Mac OS X menu-bar: */1070 connect(gEDataManager, &UIExtraDataManager::sigMenuBarConfigurationChange,1071 this, &UIMachine::sltHandleMenuBarConfigurationChange);1072 /* Update Mac OS X menu-bar: */1073 updateMenu();1074 }1075 #endif /* VBOX_WS_MAC */1076 1077 /* Get machine ID: */1078 const QUuid uMachineID = uiCommon().managedVMUuid();1079 Q_UNUSED(uMachineID);1080 1081 #ifdef VBOX_WS_MAC1082 /* User-element (Menu-bar and Dock) options: */1083 {1084 const bool fDisabled = gEDataManager->guiFeatureEnabled(GUIFeatureType_NoUserElements);1085 if (fDisabled)1086 UICocoaApplication::instance()->hideUserElements();1087 }1088 #else /* !VBOX_WS_MAC */1089 /* Menu-bar options: */1090 {1091 const bool fEnabledGlobally = !gEDataManager->guiFeatureEnabled(GUIFeatureType_NoMenuBar);1092 const bool fEnabledForMachine = gEDataManager->menuBarEnabled(uMachineID);1093 const bool fEnabled = fEnabledGlobally && fEnabledForMachine;1094 actionPool()->action(UIActionIndexRT_M_View_M_MenuBar_S_Settings)->setEnabled(fEnabled);1095 actionPool()->action(UIActionIndexRT_M_View_M_MenuBar_T_Visibility)->blockSignals(true);1096 actionPool()->action(UIActionIndexRT_M_View_M_MenuBar_T_Visibility)->setChecked(fEnabled);1097 actionPool()->action(UIActionIndexRT_M_View_M_MenuBar_T_Visibility)->blockSignals(false);1098 }1099 #endif /* !VBOX_WS_MAC */1100 1101 /* View options: */1102 const bool fGuestScreenAutoresize = gEDataManager->guestScreenAutoResizeEnabled(uMachineID);1103 actionPool()->action(UIActionIndexRT_M_View_T_GuestAutoresize)->blockSignals(true);1104 actionPool()->action(UIActionIndexRT_M_View_T_GuestAutoresize)->setChecked(fGuestScreenAutoresize);1105 actionPool()->action(UIActionIndexRT_M_View_T_GuestAutoresize)->blockSignals(false);1106 1107 /* Input options: */1108 const bool fMouseIntegrated = isMouseIntegrated(); // no e-data for now ..1109 actionPool()->action(UIActionIndexRT_M_Input_M_Mouse_T_Integration)->blockSignals(true);1110 actionPool()->action(UIActionIndexRT_M_Input_M_Mouse_T_Integration)->setChecked(fMouseIntegrated);1111 actionPool()->action(UIActionIndexRT_M_Input_M_Mouse_T_Integration)->blockSignals(false);1112 1113 /* Device options: */1114 actionPool()->action(UIActionIndexRT_M_Devices_S_UpgradeGuestAdditions)->setEnabled(false);1115 1116 /* Status-bar options: */1117 {1118 const bool fEnabledGlobally = !gEDataManager->guiFeatureEnabled(GUIFeatureType_NoStatusBar);1119 const bool fEnabledForMachine = gEDataManager->statusBarEnabled(uMachineID);1120 const bool fEnabled = fEnabledGlobally && fEnabledForMachine;1121 actionPool()->action(UIActionIndexRT_M_View_M_StatusBar_S_Settings)->setEnabled(fEnabled);1122 actionPool()->action(UIActionIndexRT_M_View_M_StatusBar_T_Visibility)->blockSignals(true);1123 actionPool()->action(UIActionIndexRT_M_View_M_StatusBar_T_Visibility)->setChecked(fEnabled);1124 actionPool()->action(UIActionIndexRT_M_View_M_StatusBar_T_Visibility)->blockSignals(false);1125 }1126 }1127 }1128 1129 1129 void UIMachine::prepareKeyboard() 1130 1130 { … … 1188 1188 } 1189 1189 1190 void UIMachine::cleanupScreens() 1191 { 1192 #ifdef VBOX_WS_MAC 1193 /* Remove display reconfiguration callback: */ 1194 CGDisplayRemoveReconfigurationCallback(cgDisplayReconfigurationCallback, this); 1195 #endif /* VBOX_WS_MAC */ 1196 } 1197 1190 1198 void UIMachine::cleanupActions() 1191 1199 { … … 1208 1216 } 1209 1217 1210 void UIMachine::cleanupScreens()1211 {1212 #ifdef VBOX_WS_MAC1213 /* Remove display reconfiguration callback: */1214 CGDisplayRemoveReconfigurationCallback(cgDisplayReconfigurationCallback, this);1215 #endif /* VBOX_WS_MAC */1216 }1217 1218 1218 void UIMachine::cleanupSession() 1219 1219 { … … 1230 1230 /* Cleanup stuff: */ 1231 1231 cleanupMachineLogic(); 1232 cleanupBranding();1233 1232 cleanupScreens(); 1234 1233 cleanupActions(); 1234 cleanupBranding(); 1235 1235 1236 1236 /* Cleanup session UI: */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachine.h
r98425 r98427 489 489 /** Prepare routine. */ 490 490 bool prepare(); 491 /** Prepare routine: Branding. */ 492 void prepareBranding(); 491 493 /** Prepare routine: Session connection stuff. */ 492 494 void prepareSessionConnections(); 495 /** Prepare routine: Actions stuff. */ 496 void prepareActions(); 493 497 /** Prepare routine: Screens stuff. */ 494 498 void prepareScreens(); 495 /** Prepare routine: Branding. */496 void prepareBranding();497 /** Prepare routine: Actions stuff. */498 void prepareActions();499 499 /** Prepare routine: Keyboard stuff. */ 500 500 void prepareKeyboard(); … … 506 506 /** Cleanup routine: Machine-logic stuff. */ 507 507 void cleanupMachineLogic(); 508 /** Cleanup routine: Screens stuff. */ 509 void cleanupScreens(); 508 510 /** Cleanup routine: Actions stuff. */ 509 511 void cleanupActions(); 510 512 /** Cleanup routine: Branding. */ 511 513 void cleanupBranding(); 512 /** Cleanup routine: Screens stuff. */513 void cleanupScreens();514 514 /** Cleanup routine: Session stuff. */ 515 515 void cleanupSession(); -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp
r98426 r98427 126 126 UINotificationMessage::remindAboutAutoCapture(); 127 127 128 m_ machineState = machine().GetState();128 m_enmMachineState = machine().GetState(); 129 129 130 130 /* Apply debug settings from the command line. */ … … 342 342 } 343 343 344 void UISession::sltStateChange(KMachineState state)344 void UISession::sltStateChange(KMachineState enmState) 345 345 { 346 346 /* Check if something had changed: */ 347 if (m_ machineState != state)347 if (m_enmMachineState != enmState) 348 348 { 349 349 /* Store new data: */ 350 m_ machineStatePrevious = m_machineState;351 m_ machineState = state;350 m_enmMachineStatePrevious = m_enmMachineState; 351 m_enmMachineState = enmState; 352 352 353 353 /* Notify listeners about machine state changed: */ … … 393 393 , m_pConsoleEventhandler(0) 394 394 /* Common variables: */ 395 , m_ machineStatePrevious(KMachineState_Null)396 , m_ machineState(KMachineState_Null)395 , m_enmMachineStatePrevious(KMachineState_Null) 396 , m_enmMachineState(KMachineState_Null) 397 397 /* Guest additions flags: */ 398 398 , m_ulGuestAdditionsRunLevel(0) … … 430 430 { 431 431 /* Open session: */ 432 m_ session = uiCommon().openSession(uiCommon().managedVMUuid(),433 uiCommon().isSeparateProcess()434 ? KLockType_Shared435 : KLockType_VM);436 if (m_ session.isNull())432 m_comSession = uiCommon().openSession(uiCommon().managedVMUuid(), 433 uiCommon().isSeparateProcess() 434 ? KLockType_Shared 435 : KLockType_VM); 436 if (m_comSession.isNull()) 437 437 return false; 438 438 439 439 /* Get machine: */ 440 m_ machine = m_session.GetMachine();441 if (m_ machine.isNull())440 m_comMachine = m_comSession.GetMachine(); 441 if (m_comMachine.isNull()) 442 442 return false; 443 443 444 444 /* Get console: */ 445 m_co nsole = m_session.GetConsole();446 if (m_co nsole.isNull())445 m_comConsole = m_comSession.GetConsole(); 446 if (m_comConsole.isNull()) 447 447 return false; 448 448 449 449 /* Get display: */ 450 m_ display = m_console.GetDisplay();451 if (m_ display.isNull())450 m_comDisplay = m_comConsole.GetDisplay(); 451 if (m_comDisplay.isNull()) 452 452 return false; 453 453 454 454 /* Get guest: */ 455 m_ guest = m_console.GetGuest();456 if (m_ guest.isNull())455 m_comGuest = m_comConsole.GetGuest(); 456 if (m_comGuest.isNull()) 457 457 return false; 458 458 459 459 /* Get mouse: */ 460 m_ mouse = m_console.GetMouse();461 if (m_ mouse.isNull())460 m_comMouse = m_comConsole.GetMouse(); 461 if (m_comMouse.isNull()) 462 462 return false; 463 463 464 464 /* Get keyboard: */ 465 m_ keyboard = m_console.GetKeyboard();466 if (m_ keyboard.isNull())465 m_comKeyboard = m_comConsole.GetKeyboard(); 466 if (m_comKeyboard.isNull()) 467 467 return false; 468 468 469 469 /* Get debugger: */ 470 m_ debugger = m_console.GetDebugger();471 if (m_ debugger.isNull())470 m_comDebugger = m_comConsole.GetDebugger(); 471 if (m_comDebugger.isNull()) 472 472 return false; 473 473 … … 476 476 477 477 /* Update machine-state: */ 478 m_ machineState = machine().GetState();478 m_enmMachineState = machine().GetState(); 479 479 480 480 /* True by default: */ … … 601 601 { 602 602 /* Detach debugger: */ 603 if (!m_ debugger.isNull())604 m_ debugger.detach();603 if (!m_comDebugger.isNull()) 604 m_comDebugger.detach(); 605 605 606 606 /* Detach keyboard: */ 607 if (!m_ keyboard.isNull())608 m_ keyboard.detach();607 if (!m_comKeyboard.isNull()) 608 m_comKeyboard.detach(); 609 609 610 610 /* Detach mouse: */ 611 if (!m_ mouse.isNull())612 m_ mouse.detach();611 if (!m_comMouse.isNull()) 612 m_comMouse.detach(); 613 613 614 614 /* Detach guest: */ 615 if (!m_ guest.isNull())616 m_ guest.detach();615 if (!m_comGuest.isNull()) 616 m_comGuest.detach(); 617 617 618 618 /* Detach display: */ 619 if (!m_ display.isNull())620 m_ display.detach();619 if (!m_comDisplay.isNull()) 620 m_comDisplay.detach(); 621 621 622 622 /* Detach console: */ 623 if (!m_co nsole.isNull())624 m_co nsole.detach();623 if (!m_comConsole.isNull()) 624 m_comConsole.detach(); 625 625 626 626 /* Detach machine: */ 627 if (!m_ machine.isNull())628 m_ machine.detach();627 if (!m_comMachine.isNull()) 628 m_comMachine.detach(); 629 629 630 630 /* Close session: */ 631 if (!m_ session.isNull() && uiCommon().isVBoxSVCAvailable())632 { 633 m_ session.UnlockMachine();634 m_ session.detach();631 if (!m_comSession.isNull() && uiCommon().isVBoxSVCAvailable()) 632 { 633 m_comSession.UnlockMachine(); 634 m_comSession.detach(); 635 635 } 636 636 } -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.h
r98426 r98427 163 163 ** @{ */ 164 164 /** Returns the session instance. */ 165 CSession &session() { return m_ session; }165 CSession &session() { return m_comSession; } 166 166 /** Returns the session's machine instance. */ 167 CMachine &machine() { return m_ machine; }167 CMachine &machine() { return m_comMachine; } 168 168 /** Returns the session's console instance. */ 169 CConsole &console() { return m_co nsole; }169 CConsole &console() { return m_comConsole; } 170 170 /** Returns the console's display instance. */ 171 CDisplay &display() { return m_ display; }171 CDisplay &display() { return m_comDisplay; } 172 172 /** Returns the console's guest instance. */ 173 CGuest &guest() { return m_ guest; }173 CGuest &guest() { return m_comGuest; } 174 174 /** Returns the console's mouse instance. */ 175 CMouse &mouse() { return m_ mouse; }175 CMouse &mouse() { return m_comMouse; } 176 176 /** Returns the console's keyboard instance. */ 177 CKeyboard &keyboard() { return m_ keyboard; }177 CKeyboard &keyboard() { return m_comKeyboard; } 178 178 /** Returns the console's debugger instance. */ 179 CMachineDebugger &debugger() { return m_ debugger; }179 CMachineDebugger &debugger() { return m_comDebugger; } 180 180 /** @} */ 181 181 … … 192 192 ** @{ */ 193 193 /** Returns previous machine state. */ 194 KMachineState machineStatePrevious() const { return m_ machineStatePrevious; }194 KMachineState machineStatePrevious() const { return m_enmMachineStatePrevious; } 195 195 /** Returns machine state. */ 196 KMachineState machineState() const { return m_ machineState; }196 KMachineState machineState() const { return m_enmMachineState; } 197 197 198 198 /** Resets previous state to be the same as current one. */ 199 void forgetPreviousMachineState() { m_ machineStatePrevious = m_machineState; }199 void forgetPreviousMachineState() { m_enmMachineStatePrevious = m_enmMachineState; } 200 200 201 201 /** Returns whether VM is in one of saved states. */ … … 372 372 373 373 /** Holds the session instance. */ 374 CSession m_session;374 CSession m_comSession; 375 375 /** Holds the session's machine instance. */ 376 CMachine m_machine;376 CMachine m_comMachine; 377 377 /** Holds the session's console instance. */ 378 CConsole m_console;378 CConsole m_comConsole; 379 379 /** Holds the console's display instance. */ 380 CDisplay m_display;380 CDisplay m_comDisplay; 381 381 /** Holds the console's guest instance. */ 382 CGuest m_guest;382 CGuest m_comGuest; 383 383 /** Holds the console's mouse instance. */ 384 CMouse m_mouse;384 CMouse m_comMouse; 385 385 /** Holds the console's keyboard instance. */ 386 CKeyboard m_keyboard;386 CKeyboard m_comKeyboard; 387 387 /** Holds the console's debugger instance. */ 388 CMachineDebugger m_debugger;388 CMachineDebugger m_comDebugger; 389 389 /** @} */ 390 390 … … 392 392 ** @{ */ 393 393 /** Holds the previous machine state. */ 394 KMachineState m_ machineStatePrevious;394 KMachineState m_enmMachineStatePrevious; 395 395 /** Holds the actual machine state. */ 396 KMachineState m_ machineState;396 KMachineState m_enmMachineState; 397 397 /** @} */ 398 398
Note:
See TracChangeset
for help on using the changeset viewer.