Changeset 9426 in vbox for trunk/src/VBox/Frontends/VirtualBox4
- Timestamp:
- Jun 5, 2008 1:46:17 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/COMDefs.cpp
r9425 r9426 222 222 if (info.isOk()) 223 223 mInterfaceName = getInterfaceNameFromIID (mInterfaceID); 224 printf("iface %s\n", qPrintable (mInterfaceName));225 224 226 225 mComponent = info.GetComponent(); … … 319 318 #else /* !defined (VBOX_WITH_XPCOM) */ 320 319 321 printf("1\n");322 320 nsCOMPtr <nsIExceptionService> es; 323 321 es = do_GetService (NS_EXCEPTIONSERVICE_CONTRACTID, &rc); 324 322 if (NS_SUCCEEDED (rc)) 325 323 { 326 printf("2\n");327 324 nsCOMPtr <nsIExceptionManager> em; 328 325 rc = es->GetCurrentExceptionManager (getter_AddRefs (em)); 329 326 if (NS_SUCCEEDED (rc)) 330 327 { 331 printf("3\n");332 328 nsCOMPtr <nsIException> ex; 333 329 rc = em->GetCurrentException (getter_AddRefs(ex)); 334 330 if (NS_SUCCEEDED (rc) && ex) 335 331 { 336 printf("4\n");337 332 nsCOMPtr <IVirtualBoxErrorInfo> info; 338 333 info = do_QueryInterface (ex, &rc); … … 340 335 init (CVirtualBoxErrorInfo (info)); 341 336 342 printf("5\n");343 337 if (!mIsFullAvailable) 344 338 { 345 printf("6\n");346 339 bool gotSomething = false; 347 340 … … 354 347 if (NS_SUCCEEDED (rc) && message) 355 348 { 356 printf("7\n"); 357 // mText = QString::fromUtf8 (message); 358 printf ("%s\n", message); 359 mText = "sdafsdf"; 360 // nsMemory::Free (message); 349 mText = QString::fromUtf8 (message); 350 nsMemory::Free (message); 361 351 } 362 352
Note:
See TracChangeset
for help on using the changeset viewer.