Changeset 501 in vbox for trunk/src/VBox/Frontends/VBoxSDL
- Timestamp:
- Feb 1, 2007 12:49:45 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
r470 r501 476 476 } 477 477 478 STDMETHOD(OnRuntimeError)(BOOL fatal, INPTR BSTR id, INPTR BSTR message) 479 { 478 STDMETHOD(OnRuntimeError)(BOOL fFatal, INPTR BSTR id, INPTR BSTR message) 479 { 480 MachineState_T machineState; 481 gMachine->COMGETTER(State)(&machineState); 482 const char *pszType; 483 bool fPaused = machineState == MachineState_Paused; 484 if (fFatal) 485 pszType = "FATAL ERROR"; 486 else if (machineState == MachineState_Paused) 487 pszType = "Non-fatal ERROR"; 488 else 489 pszType = "WARNING"; 490 RTStrmPrintf(g_pStdErr, "\n%s: ** %lS **\n%lS\n%s\n", pszType, id, message, 491 fPaused ? "The VM was paused. Continue with HostKey + P after you solved the problem.\n" : ""); 480 492 return S_OK; 481 493 }
Note:
See TracChangeset
for help on using the changeset viewer.