Lines Matching defs:aTask
284 HRESULT VFSExplorer::i_updateFS(TaskVFSExplorer *aTask)
304 if (aTask->progress)
305 aTask->progress->SetCurrentOperationProgress(33);
320 if (aTask->progress)
321 aTask->progress->SetCurrentOperationProgress(66);
334 if (aTask->progress)
335 aTask->progress->SetCurrentOperationProgress(99);
341 aTask->rc = rc;
343 if (!aTask->progress.isNull())
344 aTask->progress->i_notifyComplete(rc);
352 HRESULT VFSExplorer::i_deleteFS(TaskVFSExplorer *aTask)
363 float fPercentStep = 100.0f / aTask->filenames.size();
369 for (it = aTask->filenames.begin();
370 it != aTask->filenames.end();
379 if (aTask->progress)
380 aTask->progress->SetCurrentOperationProgress((ULONG)(fPercentStep * i));
388 aTask->rc = rc;
390 if (!aTask->progress.isNull())
391 aTask->progress->i_notifyComplete(rc);
400 HRESULT VFSExplorer::i_updateS3(TaskVFSExplorer *aTask)
420 RTS3SetProgressCallback(hS3, VFSExplorer::TaskVFSExplorer::uploadProgress, &aTask);
470 aTask->rc = rc;
472 if (!aTask->progress.isNull())
473 aTask->progress->i_notifyComplete(rc);
481 HRESULT VFSExplorer::i_deleteS3(TaskVFSExplorer *aTask)
493 float fPercentStep = 100.0f / aTask->filenames.size();
501 RTS3SetProgressCallback(hS3, VFSExplorer::TaskVFSExplorer::uploadProgress, &aTask);
505 for (it = aTask->filenames.begin();
506 it != aTask->filenames.end();
512 if (aTask->progress)
513 aTask->progress->SetCurrentOperationProgress((ULONG)(fPercentStep * i));
521 aTask->rc = rc;
526 if (!aTask->progress.isNull())
527 aTask->progress->i_notifyComplete(rc);