Changeset 53029 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Oct 10, 2014 2:28:02 PM (10 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp
r53028 r53029 981 981 return false; 982 982 983 /* Get guest: */ 984 m_guest = m_console.GetGuest(); 985 if (m_guest.isNull()) 986 return false; 987 983 988 /* Get mouse: */ 984 989 m_mouse = m_console.GetMouse(); … … 986 991 return false; 987 992 988 /* Get guest: */989 m_ guest = m_console.GetGuest();990 if (m_ guest.isNull())993 /* Get keyboard: */ 994 m_keyboard = m_console.GetKeyboard(); 995 if (m_keyboard.isNull()) 991 996 return false; 992 997 … … 1362 1367 m_debugger.detach(); 1363 1368 1369 /* Detach keyboard: */ 1370 if (!m_keyboard.isNull()) 1371 m_keyboard.detach(); 1372 1373 /* Detach mouse: */ 1374 if (!m_mouse.isNull()) 1375 m_mouse.detach(); 1376 1364 1377 /* Detach guest: */ 1365 1378 if (!m_guest.isNull()) 1366 1379 m_guest.detach(); 1367 1368 /* Detach mouse: */1369 if (!m_mouse.isNull())1370 m_mouse.detach();1371 1380 1372 1381 /* Detach display: */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.h
r53028 r53029 33 33 #include "CConsole.h" 34 34 #include "CDisplay.h" 35 #include "CGuest.h" 35 36 #include "CMouse.h" 36 #include "C Guest.h"37 #include "CKeyboard.h" 37 38 #include "CMachineDebugger.h" 38 39 … … 103 104 /** Returns the console's display instance. */ 104 105 CDisplay& display() { return m_display; } 106 /** Returns the console's guest instance. */ 107 CGuest& guest() { return m_guest; } 105 108 /** Returns the console's mouse instance. */ 106 109 CMouse& mouse() { return m_mouse; } 107 /** Returns the console's guestinstance. */108 C Guest& guest() { return m_guest; }110 /** Returns the console's keyboard instance. */ 111 CKeyboard& keyboard() { return m_keyboard; } 109 112 /** Returns the console's debugger instance. */ 110 113 CMachineDebugger& debugger() { return m_debugger; } … … 385 388 /** Holds the console's display instance. */ 386 389 CDisplay m_display; 390 /** Holds the console's guest instance. */ 391 CGuest m_guest; 387 392 /** Holds the console's mouse instance. */ 388 393 CMouse m_mouse; 389 /** Holds the console's guestinstance. */390 C Guest m_guest;394 /** Holds the console's keyboard instance. */ 395 CKeyboard m_keyboard; 391 396 /** Holds the console's debugger instance. */ 392 397 CMachineDebugger m_debugger;
Note:
See TracChangeset
for help on using the changeset viewer.