Changeset 50874 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Mar 25, 2014 6:29:02 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 92972
- Location:
- trunk/src/VBox/Main/src-client
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
r50737 r50874 3534 3534 // private methods 3535 3535 ///////////////////////////////////////////////////////////////////////////// 3536 3536 3537 3537 /** 3538 3538 * Suspend the VM before we do any medium or network attachment change. … … 6908 6908 /* The progress object will fetch the current error info */ 6909 6909 if (!pPowerupProgress.isNull()) 6910 pPowerupProgress-> notifyComplete(rc);6910 pPowerupProgress->i_notifyComplete(rc); 6911 6911 6912 6912 /* Save the error info across the IPC below. Can't be done before the … … 9176 9176 rc = pMachine->COMGETTER(FaultTolerancePassword)(bstrPassword.asOutParam()); 9177 9177 } 9178 if (task->mProgress-> setCancelCallback(faultToleranceProgressCancelCallback, pConsole->mpUVM))9178 if (task->mProgress->i_setCancelCallback(faultToleranceProgressCancelCallback, pConsole->mpUVM)) 9179 9179 { 9180 9180 if (SUCCEEDED(rc)) … … 9198 9198 AssertLogRelRC(vrc); 9199 9199 } 9200 task->mProgress-> setCancelCallback(NULL, NULL);9200 task->mProgress->i_setCancelCallback(NULL, NULL); 9201 9201 } 9202 9202 else … … 9316 9316 { 9317 9317 /* Notify the progress object of the success */ 9318 task->mProgress-> notifyComplete(S_OK);9318 task->mProgress->i_notifyComplete(S_OK); 9319 9319 } 9320 9320 else 9321 9321 { 9322 9322 /* The progress object will fetch the current error info */ 9323 task->mProgress-> notifyComplete(rc);9323 task->mProgress->i_notifyComplete(rc); 9324 9324 LogRel(("Power up failed (vrc=%Rrc, rc=%Rhrc (%#08X))\n", vrc, rc, rc)); 9325 9325 } … … 9518 9518 Utf8Str strSavedStateFile(pTask->bstrSavedStateFile); 9519 9519 9520 pTask->mProgress-> setCancelCallback(takesnapshotProgressCancelCallback, ptrVM.rawUVM());9520 pTask->mProgress->i_setCancelCallback(takesnapshotProgressCancelCallback, ptrVM.rawUVM()); 9521 9521 9522 9522 alock.release(); … … 9534 9534 strSavedStateFile.c_str(), vrc); 9535 9535 9536 pTask->mProgress-> setCancelCallback(NULL, NULL);9536 pTask->mProgress->i_setCancelCallback(NULL, NULL); 9537 9537 } 9538 9538 else 9539 9539 LogRel(("Console: skipped saving state as part of online snapshot\n")); 9540 9540 9541 if (!pTask->mProgress-> notifyPointOfNoReturn())9541 if (!pTask->mProgress->i_notifyPointOfNoReturn()) 9542 9542 throw setErrorStatic(E_FAIL, tr("Canceled")); 9543 9543 that->mptrCancelableProgress.setNull(); … … 9638 9638 9639 9639 if (FAILED(rc)) /* Must come before calling setMachineState. */ 9640 pTask->mProgress-> notifyComplete(rc);9640 pTask->mProgress->i_notifyComplete(rc); 9641 9641 9642 9642 /* … … 9669 9669 { 9670 9670 rc = setErrorStatic(VBOX_E_VM_ERROR, tr("Could not resume the machine execution (%Rrc)"), vrc); 9671 pTask->mProgress-> notifyComplete(rc);9671 pTask->mProgress->i_notifyComplete(rc); 9672 9672 if (that->mMachineState == MachineState_Saving) 9673 9673 that->setMachineStateLocally(MachineState_Paused); … … 9746 9746 9747 9747 if (SUCCEEDED(rc)) /* The failure cases are handled above. */ 9748 pTask->mProgress-> notifyComplete(rc);9748 pTask->mProgress->i_notifyComplete(rc); 9749 9749 9750 9750 delete pTask; -
trunk/src/VBox/Main/src-client/ConsoleImplTeleporter.cpp
r47532 r50874 712 712 * We're at the point of no return. 713 713 */ 714 if (!pState->mptrProgress-> notifyPointOfNoReturn())714 if (!pState->mptrProgress->i_notifyPointOfNoReturn()) 715 715 { 716 716 teleporterSrcSubmitCommand(pState, "cancel", false /*fWaitForAck*/); … … 784 784 complete things here on failure instead of right before cleanup. */ 785 785 if (FAILED(hrc)) 786 pState->mptrProgress-> notifyComplete(hrc);786 pState->mptrProgress->i_notifyComplete(hrc); 787 787 788 788 /* We can no longer be canceled (success), or it doesn't matter any longer (failure). */ 789 pState->mptrProgress-> setCancelCallback(NULL, NULL);789 pState->mptrProgress->i_setCancelCallback(NULL, NULL); 790 790 791 791 /* … … 819 819 pState->mptrConsole->mVMIsAlreadyPoweringOff = false; 820 820 821 pState->mptrProgress-> notifyComplete(hrc);821 pState->mptrProgress->i_notifyComplete(hrc); 822 822 } 823 823 else … … 991 991 992 992 void *pvUser = static_cast<void *>(static_cast<TeleporterState *>(pState)); 993 ptrProgress-> setCancelCallback(teleporterProgressCancelCallback, pvUser);993 ptrProgress->i_setCancelCallback(teleporterProgressCancelCallback, pvUser); 994 994 995 995 int vrc = RTThreadCreate(NULL, Console::teleporterSrcThreadWrapper, (void *)pState, 0 /*cbStack*/, … … 1011 1011 else 1012 1012 { 1013 ptrProgress-> setCancelCallback(NULL, NULL);1013 ptrProgress->i_setCancelCallback(NULL, NULL); 1014 1014 delete pState; 1015 1015 hrc = setError(E_FAIL, tr("RTThreadCreate -> %Rrc"), vrc); … … 1115 1115 1116 1116 void *pvUser = static_cast<void *>(static_cast<TeleporterState *>(&theState)); 1117 if (pProgress-> setCancelCallback(teleporterProgressCancelCallback, pvUser))1117 if (pProgress->i_setCancelCallback(teleporterProgressCancelCallback, pvUser)) 1118 1118 { 1119 1119 LogRel(("Teleporter: Waiting for incoming VM...\n")); … … 1122 1122 { 1123 1123 vrc = RTTcpServerListen(hServer, Console::teleporterTrgServeConnection, &theState); 1124 pProgress-> setCancelCallback(NULL, NULL);1124 pProgress->i_setCancelCallback(NULL, NULL); 1125 1125 1126 1126 if (vrc == VERR_TCP_SERVER_STOP) … … 1410 1410 * make it possible to recover from some VMR3Resume failures. 1411 1411 */ 1412 if ( pState->mptrProgress-> notifyPointOfNoReturn()1412 if ( pState->mptrProgress->i_notifyPointOfNoReturn() 1413 1413 && pState->mfLockedMedia) 1414 1414 { -
trunk/src/VBox/Main/src-client/GuestDnDImpl.cpp
r50734 r50874 395 395 m_pvData = NULL; 396 396 } 397 m_cbData = 0; 397 m_cbData = 0; 398 398 m_cbDataCurrent = 0; 399 399 m_cbDataTotal = 0; … … 435 435 if (uState == DragAndDropSvc::DND_PROGRESS_ERROR) 436 436 { 437 hr = m_progress-> notifyComplete(VBOX_E_IPRT_ERROR,438 COM_IIDOF(IGuest),439 m_parent->getComponentName(),440 DnDGuestResponse::errorToString(m_parent, rcOp).c_str());437 hr = m_progress->i_notifyComplete(VBOX_E_IPRT_ERROR, 438 COM_IIDOF(IGuest), 439 m_parent->getComponentName(), 440 DnDGuestResponse::errorToString(m_parent, rcOp).c_str()); 441 441 reset(); 442 442 } … … 455 455 if ( uState == DragAndDropSvc::DND_PROGRESS_COMPLETE 456 456 || uPercentage >= 100) 457 hr = m_progress-> notifyComplete(S_OK);457 hr = m_progress->i_notifyComplete(S_OK); 458 458 } 459 459 } … … 518 518 } 519 519 520 int DnDGuestResponse::writeToFile(const char *pszPath, size_t cbPath, 520 int DnDGuestResponse::writeToFile(const char *pszPath, size_t cbPath, 521 521 void *pvData, size_t cbData, uint32_t fMode) 522 522 { … … 525 525 * keeps those file pointers around, or extend the 526 526 * actual protocol for explicit open calls. 527 * 527 * 528 528 * For now we only keep one file open at a time, so if 529 529 * a client does alternating writes to different files … … 532 532 int rc; 533 533 if ( m_hFile == NIL_RTFILE 534 || m_strFile != pszPath) 534 || m_strFile != pszPath) 535 535 { 536 536 char *pszFile = RTPathJoinA(m_strDropDir.c_str(), pszPath); … … 540 540 /** @todo Respect fMode! */ 541 541 rc = RTFileOpen(&hFile, pszFile, 542 RTFILE_O_OPEN_CREATE | RTFILE_O_DENY_WRITE 542 RTFILE_O_OPEN_CREATE | RTFILE_O_DENY_WRITE 543 543 | RTFILE_O_WRITE | RTFILE_O_APPEND); 544 544 if (RT_SUCCESS(rc)) 545 545 { 546 LogFlowFunc(("Opening \"%s\" (fMode=0x%x) for writing ...\n", 546 LogFlowFunc(("Opening \"%s\" (fMode=0x%x) for writing ...\n", 547 547 pszFile, fMode)); 548 548 … … 955 955 *pResultAction = d->toMainAction(pResp->defAction()); 956 956 957 LogFlowFunc(("resFormat=%s, resAction=%RU32\n", 957 LogFlowFunc(("resFormat=%s, resAction=%RU32\n", 958 958 pResp->format().c_str(), pResp->defAction())); 959 959 -
trunk/src/VBox/Main/src-client/GuestProcessImpl.cpp
r50727 r50874 487 487 if (RT_UNLIKELY(mData.mPID != uPID)) 488 488 { 489 LogFlowFunc(("Stale guest process (PID=%RU32) sent data to a newly started process (pProcesS=%p, PID=%RU32, status=%RU32)\n", 490 uPID, this, mData.mPID, mData.mStatus)); 489 Utf8Str str; 490 str = "Stale guest process (PID=%RU32) sent data to newly started"; 491 str += " process (pProcesS=%p, PID=%RU32, status=%RU32)\n"; 492 LogFlowFunc((str.c_str(), uPID, this, mData.mPID, mData.mStatus)); 491 493 rc = VERR_NOT_FOUND; 492 494 } … … 1378 1380 { 1379 1381 waitResult = ProcessWaitResult_Error; 1380 AssertMsg(RT_FAILURE(mData.mLastError), ("No error rc (%Rrc) set when guest process indicated an error\n", mData.mLastError)); 1382 Utf8Str str; 1383 str = "No error rc (%Rrc) set when guest process indicated an error\n"; 1384 AssertMsg(RT_FAILURE(mData.mLastError), (str.c_str(), mData.mLastError)); 1381 1385 if (pGuestRc) 1382 1386 *pGuestRc = mData.mLastError; /* Return last set error. */ … … 1662 1666 void *pvData, size_t cbData, uint32_t uTimeoutMS, uint32_t *puWritten, int *pGuestRc) 1663 1667 { 1664 LogFlowThisFunc(("uPID=%RU32, uHandle=%RU32, uFlags=%RU32, pvData=%p, cbData=%RU32, uTimeoutMS=%RU32, puWritten=%p, pGuestRc=%p\n", 1665 mData.mPID, uHandle, uFlags, pvData, cbData, uTimeoutMS, puWritten, pGuestRc)); 1668 Utf8Str str; 1669 str = "uPID=%RU32, uHandle=%RU32, uFlags=%RU32, pvData=%p, cbData=%RU32, uTimeoutMS=%RU32, puWritten=%p, pGuestRc=%p\n"; 1670 LogFlowThisFunc((str.c_str(), mData.mPID, uHandle, uFlags, pvData, cbData, uTimeoutMS, puWritten, pGuestRc)); 1666 1671 /* All is optional. There can be 0 byte writes. */ 1667 1672 … … 1877 1882 } 1878 1883 1879 HRESULT GuestProcess::waitForArray(const std::vector<ProcessWaitForFlag_T> &aWaitFor, ULONG aTimeoutMS, ProcessWaitResult_T *aReason)1880 1884 HRESULT GuestProcess::waitForArray(const std::vector<ProcessWaitForFlag_T> &aWaitFor, 1885 ULONG aTimeoutMS, ProcessWaitResult_T *aReason) 1881 1886 { 1882 1887 #ifndef VBOX_WITH_GUEST_CONTROL -
trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp
r50771 r50874 2156 2156 if ( mData.mProtocolVersion < 2 2157 2157 && s_gctrlLegacyWarning++ < 3) /** @todo Find a bit nicer text. */ 2158 LogRel((tr("Warning: Guest Additions are older (%ld.%ld) than host capabilities for guest control, please upgrade them. Using protocol version %ld now\n"), 2159 uVBoxMajor, uVBoxMinor, mData.mProtocolVersion)); 2160 2158 { 2159 Utf8Str str; 2160 str = "Warning: Guest Additions are older (%ld.%ld) than host"; 2161 str += " capabilities for guest control, please upgrade them. Using protocol version %ld now\n"; 2162 LogRel((tr(str.c_str()), uVBoxMajor, uVBoxMinor, mData.mProtocolVersion)); 2163 } 2161 2164 return VINF_SUCCESS; 2162 2165 } … … 2413 2416 } 2414 2417 2415 HRESULT GuestSession::copyFrom(const com::Utf8Str &aSource, const com::Utf8Str &aDest, const std::vector<CopyFileFlag_T> &aFlags, ComPtr<IProgress> &aProgress) 2418 HRESULT GuestSession::copyFrom(const com::Utf8Str &aSource, const com::Utf8Str &aDest, 2419 const std::vector<CopyFileFlag_T> &aFlags, 2420 ComPtr<IProgress> &aProgress) 2416 2421 { 2417 2422 #ifndef VBOX_WITH_GUEST_CONTROL … … 2442 2447 SessionTaskCopyFrom *pTask = new SessionTaskCopyFrom(this /* GuestSession */, 2443 2448 aSource, aDest, fFlags); 2444 int rc = i_startTaskAsync(Utf8StrFmt(tr("Copying \"%s\" from guest to \"%s\" on the host"), aSource.c_str(), aDest.c_str()),2445 pTask, pProgress);2449 int rc = i_startTaskAsync(Utf8StrFmt(tr("Copying \"%s\" from guest to \"%s\" on the host"), aSource.c_str(), 2450 aDest.c_str()), pTask, pProgress); 2446 2451 if (RT_SUCCESS(rc)) 2447 2452 /* Return progress to the caller. */ … … 2460 2465 } 2461 2466 2462 HRESULT GuestSession::copyTo(const com::Utf8Str &aSource, const com::Utf8Str &aDest, const std::vector<CopyFileFlag_T> &aFlags, ComPtr<IProgress> &aProgress) 2467 HRESULT GuestSession::copyTo(const com::Utf8Str &aSource, const com::Utf8Str &aDest, const std::vector<CopyFileFlag_T> &aFlags, 2468 ComPtr<IProgress> &aProgress) 2463 2469 { 2464 2470 #ifndef VBOX_WITH_GUEST_CONTROL … … 2490 2496 aSource, aDest, fFlags); 2491 2497 AssertPtrReturn(pTask, E_OUTOFMEMORY); 2492 int rc = i_startTaskAsync(Utf8StrFmt(tr("Copying \"%s\" from host to \"%s\" on the guest"), aSource.c_str(), aDest.c_str()),2493 pTask, pProgress);2498 int rc = i_startTaskAsync(Utf8StrFmt(tr("Copying \"%s\" from host to \"%s\" on the guest"), aSource.c_str(), 2499 aDest.c_str()), pTask, pProgress); 2494 2500 if (RT_SUCCESS(rc)) 2495 2501 { … … 2563 2569 } 2564 2570 2565 HRESULT GuestSession::directoryCreateTemp(const com::Utf8Str &aTemplateName, ULONG aMode, const com::Utf8Str &aPath, BOOL aSecure, com::Utf8Str &aDirectory) 2571 HRESULT GuestSession::directoryCreateTemp(const com::Utf8Str &aTemplateName, ULONG aMode, const com::Utf8Str &aPath, 2572 BOOL aSecure, com::Utf8Str &aDirectory) 2566 2573 { 2567 2574 #ifndef VBOX_WITH_GUEST_CONTROL … … 2635 2642 } 2636 2643 2637 HRESULT GuestSession::directoryOpen(const com::Utf8Str &aPath, const com::Utf8Str &aFilter, const std::vector<DirectoryOpenFlag_T> &aFlags, ComPtr<IGuestDirectory> &aDirectory) 2644 HRESULT GuestSession::directoryOpen(const com::Utf8Str &aPath, const com::Utf8Str &aFilter, 2645 const std::vector<DirectoryOpenFlag_T> &aFlags, ComPtr<IGuestDirectory> &aDirectory) 2638 2646 { 2639 2647 #ifndef VBOX_WITH_GUEST_CONTROL … … 2793 2801 } 2794 2802 2795 HRESULT GuestSession::directoryRemoveRecursive(const com::Utf8Str &aPath, const std::vector<DirectoryRemoveRecFlag_T> &aFlags, ComPtr<IProgress> &aProgress) 2803 HRESULT GuestSession::directoryRemoveRecursive(const com::Utf8Str &aPath, const std::vector<DirectoryRemoveRecFlag_T> &aFlags, 2804 ComPtr<IProgress> &aProgress) 2796 2805 { 2797 2806 #ifndef VBOX_WITH_GUEST_CONTROL … … 2820 2829 * the progress object right now. */ 2821 2830 /** @todo Implement progress reporting on guest directory deletion! */ 2822 hr = pProgress-> notifyComplete(S_OK);2831 hr = pProgress->i_notifyComplete(S_OK); 2823 2832 if (FAILED(hr)) 2824 2833 return hr; … … 2988 2997 } 2989 2998 2990 HRESULT GuestSession::fileCreateTemp(const com::Utf8Str &aTemplateName, ULONG aMode, const com::Utf8Str &aPath, BOOL aSecure, ComPtr<IGuestFile> &aFile) 2999 HRESULT GuestSession::fileCreateTemp(const com::Utf8Str &aTemplateName, ULONG aMode, const com::Utf8Str &aPath, BOOL aSecure, 3000 ComPtr<IGuestFile> &aFile) 2991 3001 { 2992 3002 #ifndef VBOX_WITH_GUEST_CONTROL … … 3073 3083 } 3074 3084 3075 HRESULT GuestSession::fileOpen(const com::Utf8Str &aPath, const com::Utf8Str &aOpenMode, const com::Utf8Str &aDisposition, ULONG aCreationMode, ComPtr<IGuestFile> &aFile) 3085 HRESULT GuestSession::fileOpen(const com::Utf8Str &aPath, const com::Utf8Str &aOpenMode, const com::Utf8Str &aDisposition, 3086 ULONG aCreationMode, ComPtr<IGuestFile> &aFile) 3076 3087 { 3077 3088 #ifndef VBOX_WITH_GUEST_CONTROL … … 3087 3098 } 3088 3099 3089 HRESULT GuestSession::fileOpenEx(const com::Utf8Str &aPath, const com::Utf8Str &aOpenMode, const com::Utf8Str &aDisposition, const com::Utf8Str &aSharingMode, ULONG aCreationMode, LONG64 aOffset, ComPtr<IGuestFile> &aFile) 3100 HRESULT GuestSession::fileOpenEx(const com::Utf8Str &aPath, const com::Utf8Str &aOpenMode, const com::Utf8Str &aDisposition, 3101 const com::Utf8Str &aSharingMode, ULONG aCreationMode, LONG64 aOffset, 3102 ComPtr<IGuestFile> &aFile) 3090 3103 3091 3104 { … … 3240 3253 } 3241 3254 3242 HRESULT GuestSession::fileRename(const com::Utf8Str &aSource, const com::Utf8Str &aDest, const std::vector<PathRenameFlag_T> &aFlags) 3255 HRESULT GuestSession::fileRename(const com::Utf8Str &aSource, const com::Utf8Str &aDest, 3256 const std::vector<PathRenameFlag_T> &aFlags) 3243 3257 { 3244 3258 #ifndef VBOX_WITH_GUEST_CONTROL … … 3298 3312 } 3299 3313 3300 HRESULT GuestSession::processCreate(const com::Utf8Str &aCommand, const std::vector<com::Utf8Str> &aArguments, const std::vector<com::Utf8Str> &aEnvironment, const std::vector<ProcessCreateFlag_T> &aFlags, ULONG aTimeoutMS, ComPtr<IGuestProcess> &aGuestProcess) 3314 HRESULT GuestSession::processCreate(const com::Utf8Str &aCommand, const std::vector<com::Utf8Str> &aArguments, 3315 const std::vector<com::Utf8Str> &aEnvironment, 3316 const std::vector<ProcessCreateFlag_T> &aFlags, 3317 ULONG aTimeoutMS, ComPtr<IGuestProcess> &aGuestProcess) 3301 3318 { 3302 3319 #ifndef VBOX_WITH_GUEST_CONTROL … … 3307 3324 std::vector<LONG> affinityIgnored; 3308 3325 3309 return processCreateEx(aCommand, aArguments, aEnvironment, aFlags, aTimeoutMS, ProcessPriority_Default, affinityIgnored, aGuestProcess); 3310 #endif /* VBOX_WITH_GUEST_CONTROL */ 3311 } 3312 3313 HRESULT GuestSession::processCreateEx(const com::Utf8Str &aCommand, const std::vector<com::Utf8Str> &aArguments, const std::vector<com::Utf8Str> &aEnvironment, const std::vector<ProcessCreateFlag_T> &aFlags, ULONG aTimeoutMS, ProcessPriority_T aPriority, const std::vector<LONG> &aAffinity, ComPtr<IGuestProcess> &aGuestProcess) 3326 return processCreateEx(aCommand, aArguments, aEnvironment, aFlags, aTimeoutMS, ProcessPriority_Default, 3327 affinityIgnored, aGuestProcess); 3328 #endif /* VBOX_WITH_GUEST_CONTROL */ 3329 } 3330 3331 HRESULT GuestSession::processCreateEx(const com::Utf8Str &aCommand, const std::vector<com::Utf8Str> &aArguments, 3332 const std::vector<com::Utf8Str> &aEnvironment, 3333 const std::vector<ProcessCreateFlag_T> &aFlags, ULONG aTimeoutMS, 3334 ProcessPriority_T aPriority, const std::vector<LONG> &aAffinity, 3335 ComPtr<IGuestProcess> &aGuestProcess) 3314 3336 { 3315 3337 #ifndef VBOX_WITH_GUEST_CONTROL … … 3450 3472 } 3451 3473 3452 HRESULT GuestSession::symlinkRead(const com::Utf8Str &aSymlink, const std::vector<SymlinkReadFlag_T> &aFlags, com::Utf8Str &aTarget) 3474 HRESULT GuestSession::symlinkRead(const com::Utf8Str &aSymlink, const std::vector<SymlinkReadFlag_T> &aFlags, 3475 com::Utf8Str &aTarget) 3453 3476 { 3454 3477 #ifndef VBOX_WITH_GUEST_CONTROL … … 3527 3550 } 3528 3551 3529 HRESULT GuestSession::waitForArray(const std::vector<GuestSessionWaitForFlag_T> &aWaitFor, ULONG aTimeoutMS, GuestSessionWaitResult_T *aReason) 3552 HRESULT GuestSession::waitForArray(const std::vector<GuestSessionWaitForFlag_T> &aWaitFor, ULONG aTimeoutMS, 3553 GuestSessionWaitResult_T *aReason) 3530 3554 { 3531 3555 #ifndef VBOX_WITH_GUEST_CONTROL -
trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp
r50727 r50874 128 128 && !fCompleted) 129 129 { 130 HRESULT hr = mProgress-> notifyComplete(S_OK);130 HRESULT hr = mProgress->i_notifyComplete(S_OK); 131 131 if (FAILED(hr)) 132 132 return VERR_COM_UNEXPECTED; /** @todo Find a better rc. */ … … 151 151 && !fCompleted) 152 152 { 153 HRESULT hr2 = mProgress-> notifyComplete(hr,154 COM_IIDOF(IGuestSession),155 GuestSession::getStaticComponentName(),156 strMsg.c_str());153 HRESULT hr2 = mProgress->i_notifyComplete(hr, 154 COM_IIDOF(IGuestSession), 155 GuestSession::getStaticComponentName(), 156 strMsg.c_str()); 157 157 if (FAILED(hr2)) 158 158 return hr2; -
trunk/src/VBox/Main/src-client/xpcom/module.cpp
r50727 r50874 74 74 NS_DECL_CLASSINFO(MachineDebugger) 75 75 NS_IMPL_THREADSAFE_ISUPPORTS1_CI(MachineDebugger, IMachineDebugger) 76 NS_DECL_CLASSINFO(Progress)77 NS_IMPL_THREADSAFE_ISUPPORTS1_CI(Progress, IProgress)78 76 NS_DECL_CLASSINFO(RemoteUSBDevice) 79 77 NS_IMPL_THREADSAFE_ISUPPORTS2_CI(RemoteUSBDevice, IHostUSBDevice, IUSBDevice)
Note:
See TracChangeset
for help on using the changeset viewer.